#306DFD

A color in the Blue, Sky, Navy family

#306dfd is a color in the Blue, Sky, Navy family: RGB(48, 109, 253), HSL(222°, 98%, 59%), CMYK(81%, 57%, 0%, 1%). Closest named color: royalblue. Contrast is 4.44:1 on white and 4.73:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#306dfd
RGBrgb(48 109 253)
RGB (legacy)rgb(48, 109, 253)
RGB %rgb(19% 43% 99%)
HSLhsl(222 98% 59%)
HSV / HSBhsv(222, 81%, 99%)
HWBhwb(222 19% 1%)
CMYKcmyk(81%, 57%, 0%, 1%)
CIELAB (D50)lab(48.98 21.86 -78.8)
LCHlch(48.98 81.77 285.5)
OKLaboklab(0.583 -0.0251 -0.2225)
OKLCHoklch(0.583 0.2239 263.57)
Decimal3173885

Properties

Color ToneBlue, Sky, Navy
Closest named colorroyalblue ΔE 4.4
Closest web-safe color#3366ff
Hue222°
Saturation (HSL / HSV)98% / 81%
Lightness (HSL)59%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)42% / 42%
Relative luminance (WCAG)0.1866
Red / Green / Blue48 / 109 / 253

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 70.1 / -31.6 · As background with white / black text: Lc -75.6 / 34

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: #306dfd;
  --color-brand-oklch: oklch(58.3% 0.2239 263.57);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(48 109 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#306dfd] text-[#306dfd] border-[#306dfd]">