#2E4489#2E4489

#2E4489 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.8% C 0.118 H 267.6°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#2E4489
RGBrgb(46, 68, 137)
HSLhsl(225, 50%, 36%)
HSVhsv(225, 66%, 54%)
CMYKcmyk(66.4%, 50.4%, 0%, 46.3%)
CIE-LABlab(30.69, 15.17, -41.17)
CIE-LCHlch(30.69, 43.88, 290.23°)
OKLaboklab(40.8% -0.0049 -0.1179)
OKLCHoklch(40.8% 0.118 267.6)
XYZxyz(7.7076, 6.5205, 24.5145)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4489 #89732E
analogous
#2E7189 #2E4489 #452E89
triadic
#2E4489 #892E44 #44892E
tetradic
#2E4489 #892E71 #89732E #2E8945
square
#2E4489 #892E71 #89732E #2E8945
split-complementary
#2E4489 #89452E #71892E
monochromatic
#0F172D #1F2D5B #2E4489 #3D5BB7 #667ECC

Accessibility & contrast

On white

9.11
#2E4489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2E4489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4489
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4489#FFFFFF#000000##FFFFFF
##2E44891.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4D8C
Deuteranopia (green-blind)
#094488
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e4489;
/* rgb */ color: rgb(46, 68, 137);
/* oklch */ color: oklch(40.8% 0.118 267.6);
Tailwind
colors: {
  custom: {
    50: '#7177ac',
    500: '#2e4489',
    950: '#000000',
  },
}
SCSS
$custom: #2e4489;
$custom-light: #7177ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4489",
  "rgb": {
    "r": 46,
    "g": 68,
    "b": 137
  },
  "hsl": {
    "h": 225.495,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40798,
    "c": 0.11803,
    "h": 267.6
  },
  "luminance": 0.06521
}

Semantic roles & 50–950 ramp

primary
#2E4489
secondary
#B29F60
accent
#B84FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2E4489

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

Preview Lab → · Contrast checker → · Palette generator →

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