#0D5DFD

A color in the Blue, Sky, Navy family

#0d5dfd is a color in the Blue, Sky, Navy family: RGB(13, 93, 253), HSL(220°, 98%, 52%), CMYK(95%, 63%, 0%, 1%). Closest named color: royalblue. Contrast is 5.25:1 on white and 4:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#0d5dfd
RGBrgb(13 93 253)
RGB (legacy)rgb(13, 93, 253)
RGB %rgb(5% 36% 99%)
HSLhsl(220 98% 52%)
HSV / HSBhsv(220, 95%, 99%)
HWBhwb(220 5% 1%)
CMYKcmyk(95%, 63%, 0%, 1%)
CIELAB (D50)lab(44.08 29.14 -86.84)
LCHlch(44.08 91.6 288.55)
OKLaboklab(0.5464 -0.0328 -0.2454)
OKLCHoklch(0.5464 0.2476 262.4)
Decimal876029

Properties

Color ToneBlue, Sky, Navy
Closest named colorroyalblue ΔE 6.3
Closest web-safe color#0066ff
Hue220°
Saturation (HSL / HSV)98% / 95%
Lightness (HSL)52%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)34% / 34%
Relative luminance (WCAG)0.1501
Red / Green / Blue13 / 93 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.25:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.00:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 75 / -26.8 · As background with white / black text: Lc -80.4 / 29.1

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #0d5dfd;
  --color-brand-oklch: oklch(54.64% 0.2476 262.4);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(13 93 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#0d5dfd] text-[#0d5dfd] border-[#0d5dfd]">