#2E417E#2E417E

#2E417E is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.3% C 0.106 H 268.3°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2E417E
RGBrgb(46, 65, 126)
HSLhsl(226, 47%, 34%)
HSVhsv(226, 63%, 49%)
CMYKcmyk(63.5%, 48.4%, 0%, 50.6%)
CIE-LABlab(29.07, 13.09, -36.93)
CIE-LCHlch(29.07, 39.18, 289.52°)
OKLaboklab(39.33% -0.0032 -0.1055)
OKLCHoklch(39.33% 0.106 268.3)
XYZxyz(6.7816, 5.8672, 20.5097)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E417E #7E6B2E
analogous
#2E697E #2E417E #432E7E
triadic
#2E417E #7E2E41 #417E2E
tetradic
#2E417E #7E2E69 #7E6B2E #2E7E43
square
#2E417E #7E2E69 #7E6B2E #2E7E43
split-complementary
#2E417E #7E432E #697E2E
monochromatic
#0D1324 #1E2A51 #2E417E #3E58AB #6179C5

Accessibility & contrast

On white

9.66
#2E417E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2E417E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E417E
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E417E#FFFFFF#000000##FFFFFF
##2E417E1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234880
Deuteranopia (green-blind)
#16417D
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e417e;
/* rgb */ color: rgb(46, 65, 126);
/* oklch */ color: oklch(39.3% 0.106 268.3);
Tailwind
colors: {
  custom: {
    50: '#6f75a4',
    500: '#2e417e',
    950: '#000000',
  },
}
SCSS
$custom: #2e417e;
$custom-light: #6f75a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e417e",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 225.75,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3933,
    "c": 0.10555,
    "h": 268.3
  },
  "luminance": 0.05868
}

Semantic roles & 50–950 ramp

primary
#2E417E
secondary
#AC995C
accent
#B752D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2E417E

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

Preview Lab → · Contrast checker → · Palette generator →

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