#2E66B8#2E66B8

#2E66B8 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.7% C 0.142 H 258.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#2E66B8
RGBrgb(46, 102, 184)
HSLhsl(216, 60%, 45%)
HSVhsv(216, 75%, 72%)
CMYKcmyk(75%, 44.6%, 0%, 27.8%)
CIE-LABlab(43.57, 10.56, -48.64)
CIE-LCHlch(43.57, 49.78, 282.25°)
OKLaboklab(51.66% -0.0291 -0.1393)
OKLCHoklch(51.66% 0.142 258.2)
XYZxyz(14.5267, 13.5426, 47.1865)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E66B8 #B8802E
analogous
#2EABB8 #2E66B8 #3B2EB8
triadic
#2E66B8 #B82E66 #66B82E
tetradic
#2E66B8 #B82EAB #B8802E #2EB83B
square
#2E66B8 #B82EAB #B8802E #2EB83B
split-complementary
#2E66B8 #B83B2E #ABB82E
monochromatic
#163056 #224B87 #2E66B8 #5085D3 #81A7DF

Accessibility & contrast

On white

5.66
#2E66B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#2E66B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E66B8
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E66B8#FFFFFF#000000##FFFFFF
##2E66B81.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6EBB
Deuteranopia (green-blind)
#2161B6
Tritanopia (blue-blind)
#007986
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2e66b8;
/* rgb */ color: rgb(46, 102, 184);
/* oklch */ color: oklch(51.7% 0.142 258.2);
Tailwind
colors: {
  custom: {
    50: '#7a91ce',
    500: '#2e66b8',
    950: '#000000',
  },
}
SCSS
$custom: #2e66b8;
$custom-light: #7a91ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e66b8",
  "rgb": {
    "r": 46,
    "g": 102,
    "b": 184
  },
  "hsl": {
    "h": 215.652,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51664,
    "c": 0.14235,
    "h": 258.2
  },
  "luminance": 0.13544
}

Semantic roles & 50–950 ramp

primary
#2E66B8
secondary
#C8A879
accent
#A345E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E66B8

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2E66B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva