#2E416F#2E416F

#2E416F is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.3% C 0.082 H 265.7°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#2E416F
RGBrgb(46, 65, 111)
HSLhsl(222, 41%, 31%)
HSVhsv(222, 59%, 44%)
CMYKcmyk(58.6%, 41.4%, 0%, 56.5%)
CIE-LABlab(28.14, 7.56, -28.97)
CIE-LCHlch(28.14, 29.95, 284.63°)
OKLaboklab(38.31% -0.0061 -0.0822)
OKLCHoklch(38.31% 0.082 265.7)
XYZxyz(5.8853, 5.5087, 15.7890)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E416F #6F5C2E
analogous
#2E616F #2E416F #3C2E6F
triadic
#2E416F #6F2E41 #416F2E
tetradic
#2E416F #6F2E61 #6F5C2E #2E6F3C
square
#2E416F #6F2E61 #6F5C2E #2E6F3C
split-complementary
#2E416F #6F3C2E #616F2E
monochromatic
#0A0E18 #1C2844 #2E416F #405A9A #5C78BB

Accessibility & contrast

On white

9.99
#2E416F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2E416F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E416F
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E416F#FFFFFF#000000##FFFFFF
##2E416F1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4671
Deuteranopia (green-blind)
#26406E
Tritanopia (blue-blind)
#064B52
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e416f;
/* rgb */ color: rgb(46, 65, 111);
/* oklch */ color: oklch(38.3% 0.082 265.7);
Tailwind
colors: {
  custom: {
    50: '#6c7598',
    500: '#2e416f',
    950: '#000000',
  },
}
SCSS
$custom: #2e416f;
$custom-light: #6c7598;
$custom-dark: #000000;
JSON
{
  "hex": "#2e416f",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 111
  },
  "hsl": {
    "h": 222.462,
    "s": 41.401,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38306,
    "c": 0.08239,
    "h": 265.7
  },
  "luminance": 0.05509
}

Semantic roles & 50–950 ramp

primary
#2E416F
secondary
#A08B58
accent
#AD57D1
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2E416F

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

Preview Lab → · Contrast checker → · Palette generator →

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