#2E4581#2E4581

#2E4581 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.4% C 0.105 H 266.1°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#2E4581
RGBrgb(46, 69, 129)
HSLhsl(223, 47%, 34%)
HSVhsv(223, 64%, 51%)
CMYKcmyk(64.3%, 46.5%, 0%, 49.4%)
CIE-LABlab(30.45, 11.49, -36.60)
CIE-LCHlch(30.45, 38.36, 287.44°)
OKLaboklab(40.45% -0.0071 -0.1045)
OKLCHoklch(40.45% 0.105 266.1)
XYZxyz(7.2159, 6.4214, 21.6238)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4581 #816A2E
analogous
#2E6F81 #2E4581 #402E81
triadic
#2E4581 #812E45 #45812E
tetradic
#2E4581 #812E6F #816A2E #2E8140
square
#2E4581 #812E6F #816A2E #2E8140
split-complementary
#2E4581 #81402E #6F812E
monochromatic
#0E1527 #1E2D54 #2E4581 #3E5DAE #627EC7

Accessibility & contrast

On white

9.19
#2E4581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2E4581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4581
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4581#FFFFFF#000000##FFFFFF
##2E45811.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294C83
Deuteranopia (green-blind)
#1B4480
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e4581;
/* rgb */ color: rgb(46, 69, 129);
/* oklch */ color: oklch(40.4% 0.105 266.1);
Tailwind
colors: {
  custom: {
    50: '#6f78a6',
    500: '#2e4581',
    950: '#000000',
  },
}
SCSS
$custom: #2e4581;
$custom-light: #6f78a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4581",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 129
  },
  "hsl": {
    "h": 223.373,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40446,
    "c": 0.1047,
    "h": 266.1
  },
  "luminance": 0.06422
}

Semantic roles & 50–950 ramp

primary
#2E4581
secondary
#AE975D
accent
#B251D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2E4581

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

Preview Lab → · Contrast checker → · Palette generator →

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