#2E418B#2E418B

#2E418B is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.3% C 0.125 H 269.3°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#2E418B
RGBrgb(46, 65, 139)
HSLhsl(228, 50%, 36%)
HSVhsv(228, 67%, 55%)
CMYKcmyk(66.9%, 53.2%, 0%, 45.5%)
CIE-LABlab(29.97, 17.96, -43.56)
CIE-LCHlch(29.97, 47.12, 292.41°)
OKLaboklab(40.3% -0.0016 -0.125)
OKLCHoklch(40.3% 0.125 269.3)
XYZxyz(7.6756, 6.2248, 25.2181)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E418B #8B782E
analogous
#2E708B #2E418B #4A2E8B
triadic
#2E418B #8B2E41 #418B2E
tetradic
#2E418B #8B2E70 #8B782E #2E8B4A
square
#2E418B #8B2E70 #8B782E #2E8B4A
split-complementary
#2E418B #8B4A2E #708B2E
monochromatic
#10162F #1F2B5D #2E418B #3D57B9 #677CCD

Accessibility & contrast

On white

9.35
#2E418B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2E418B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E418B
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E418B#FFFFFF#000000##FFFFFF
##2E418B1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144B8E
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e418b;
/* rgb */ color: rgb(46, 65, 139);
/* oklch */ color: oklch(40.3% 0.125 269.3);
Tailwind
colors: {
  custom: {
    50: '#7275ad',
    500: '#2e418b',
    950: '#000000',
  },
}
SCSS
$custom: #2e418b;
$custom-light: #7275ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2e418b",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 139
  },
  "hsl": {
    "h": 227.742,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40299,
    "c": 0.12501,
    "h": 269.3
  },
  "luminance": 0.06226
}

Semantic roles & 50–950 ramp

primary
#2E418B
secondary
#B3A361
accent
#BD4EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2E418B

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

Preview Lab → · Contrast checker → · Palette generator →

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