#2A66EA

A color in the Blue, Sky, Navy family

#2a66ea is a color in the Blue, Sky, Navy family: RGB(42, 102, 234), HSL(221°, 82%, 54%), CMYK(82%, 56%, 0%, 8%). Closest named color: royalblue. Contrast is 5.02:1 on white and 4.19:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#2a66ea
RGBrgb(42 102 234)
RGB (legacy)rgb(42, 102, 234)
RGB %rgb(16% 40% 92%)
HSLhsl(221 82% 54%)
HSV / HSBhsv(221, 82%, 92%)
HWBhwb(221 16% 8%)
CMYKcmyk(82%, 56%, 0%, 8%)
CIELAB (D50)lab(45.67 19.39 -73.6)
LCHlch(45.67 76.11 284.76)
OKLaboklab(0.5525 -0.0256 -0.2078)
OKLCHoklch(0.5525 0.2094 262.97)
Decimal2778858

Properties

Color ToneBlue, Sky, Navy
Closest named colorroyalblue ΔE 2.5
Closest web-safe color#3366ff
Hue221°
Saturation (HSL / HSV)82% / 82%
Lightness (HSL)54%
Brightness or Value (HSV)92%
Luminance (Rec.601 / Rec.709)39% / 39%
Relative luminance (WCAG)0.1594
Red / Green / Blue42 / 102 / 234

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.02:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.19: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 74 / -27.7 · As background with white / black text: Lc -79.4 / 30.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: #2a66ea;
  --color-brand-oklch: oklch(55.25% 0.2094 262.97);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(42 102 234 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2a66ea] text-[#2a66ea] border-[#2a66ea]">