#2E4584#2E4584

#2E4584 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.7% C 0.109 H 266.5°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#2E4584
RGBrgb(46, 69, 132)
HSLhsl(224, 48%, 35%)
HSVhsv(224, 65%, 52%)
CMYKcmyk(65.2%, 47.7%, 0%, 48.2%)
CIE-LABlab(30.65, 12.62, -38.15)
CIE-LCHlch(30.65, 40.18, 288.30°)
OKLaboklab(40.66% -0.0066 -0.109)
OKLCHoklch(40.66% 0.109 266.5)
XYZxyz(7.4183, 6.5024, 22.6895)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4584 #846D2E
analogous
#2E7084 #2E4584 #422E84
triadic
#2E4584 #842E45 #45842E
tetradic
#2E4584 #842E70 #846D2E #2E8442
square
#2E4584 #842E70 #846D2E #2E8442
split-complementary
#2E4584 #84422E #70842E
monochromatic
#0E1629 #1E2D57 #2E4584 #3E5DB1 #647FC9

Accessibility & contrast

On white

9.13
#2E4584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4584
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4584#FFFFFF#000000##FFFFFF
##2E45841.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264C86
Deuteranopia (green-blind)
#174483
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e4584;
/* rgb */ color: rgb(46, 69, 132);
/* oklch */ color: oklch(40.7% 0.109 266.5);
Tailwind
colors: {
  custom: {
    50: '#7078a8',
    500: '#2e4584',
    950: '#000000',
  },
}
SCSS
$custom: #2e4584;
$custom-light: #7078a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4584",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 132
  },
  "hsl": {
    "h": 223.953,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40657,
    "c": 0.10922,
    "h": 266.5
  },
  "luminance": 0.06503
}

Semantic roles & 50–950 ramp

primary
#2E4584
secondary
#B09A5E
accent
#B450D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2E4584

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

Preview Lab → · Contrast checker → · Palette generator →

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