#2E4589#2E4589

#2E4589 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 41.0% C 0.117 H 267.1°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#2E4589
RGBrgb(46, 69, 137)
HSLhsl(225, 50%, 36%)
HSVhsv(225, 66%, 54%)
CMYKcmyk(66.4%, 49.6%, 0%, 46.3%)
CIE-LABlab(30.98, 14.49, -40.71)
CIE-LCHlch(30.98, 43.21, 289.60°)
OKLaboklab(41.02% -0.0059 -0.1165)
OKLCHoklch(41.02% 0.117 267.1)
XYZxyz(7.7686, 6.6425, 24.5348)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4589 #89722E
analogous
#2E7289 #2E4589 #442E89
triadic
#2E4589 #892E45 #45892E
tetradic
#2E4589 #892E72 #89722E #2E8944
square
#2E4589 #892E72 #89722E #2E8944
split-complementary
#2E4589 #89442E #72892E
monochromatic
#0F172D #1F2E5B #2E4589 #3D5CB7 #6680CC

Accessibility & contrast

On white

9.02
#2E4589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2E4589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4589
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4589#FFFFFF#000000##FFFFFF
##2E45891.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214D8B
Deuteranopia (green-blind)
#0E4588
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e4589;
/* rgb */ color: rgb(46, 69, 137);
/* oklch */ color: oklch(41.0% 0.117 267.1);
Tailwind
colors: {
  custom: {
    50: '#7178ac',
    500: '#2e4589',
    950: '#000000',
  },
}
SCSS
$custom: #2e4589;
$custom-light: #7178ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4589",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 137
  },
  "hsl": {
    "h": 224.835,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41018,
    "c": 0.11669,
    "h": 267.1
  },
  "luminance": 0.06643
}

Semantic roles & 50–950 ramp

primary
#2E4589
secondary
#B29E60
accent
#B64FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2E4589

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

Preview Lab → · Contrast checker → · Palette generator →

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