#0066FF

A color in the Blue, Sky, Navy family

#0066ff is a color in the Blue, Sky, Navy family: RGB(0, 102, 255), HSL(216°, 100%, 50%), CMYK(100%, 60%, 0%, 0%). Closest named color: royalblue. Contrast is 4.83:1 on white and 4.34:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#0066ff
HEX (3)#06f
RGBrgb(0 102 255)
RGB (legacy)rgb(0, 102, 255)
RGB %rgb(0% 40% 100%)
HSLhsl(216 100% 50%)
HSV / HSBhsv(216, 100%, 100%)
HWBhwb(216 0% 0%)
CMYKcmyk(100%, 60%, 0%, 0%)
CIELAB (D50)lab(46.43 24.02 -84.1)
LCHlch(46.43 87.46 285.94)
OKLaboklab(0.5635 -0.0384 -0.2377)
OKLCHoklch(0.5635 0.2408 260.82)
Decimal26367

Properties

Color ToneBlue, Sky, Navy
Closest named colorroyalblue ΔE 5.7
Closest web-safe color#0066ff
Hue216°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)50%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)35% / 36%
Relative luminance (WCAG)0.1672
Red / Green / Blue0 / 102 / 255

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.83:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.34: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 72.4 / -29.3 · As background with white / black text: Lc -77.9 / 31.7

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: #0066ff;
  --color-brand-oklch: oklch(56.35% 0.2408 260.82);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(0 102 255 / 50%); }
/* Tailwind CSS */
<div class="bg-[#0066ff] text-[#0066ff] border-[#0066ff]">