#2E4487#2E4487

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

Color values

HEX#2E4487
RGBrgb(46, 68, 135)
HSLhsl(225, 49%, 35%)
HSVhsv(225, 66%, 53%)
CMYKcmyk(65.9%, 49.6%, 0%, 47.1%)
CIE-LABlab(30.55, 14.42, -40.15)
CIE-LCHlch(30.55, 42.67, 289.75°)
OKLaboklab(40.65% -0.0051 -0.1149)
OKLCHoklch(40.65% 0.115 267.4)
XYZxyz(7.5655, 6.4637, 23.7659)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4487 #87712E
analogous
#2E7087 #2E4487 #452E87
triadic
#2E4487 #872E44 #44872E
tetradic
#2E4487 #872E70 #87712E #2E8745
square
#2E4487 #872E70 #87712E #2E8745
split-complementary
#2E4487 #87452E #70872E
monochromatic
#0F162C #1E2D59 #2E4487 #3E5BB5 #657ECA

Accessibility & contrast

On white

9.16
#2E4487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2E4487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4487
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4487#FFFFFF#000000##FFFFFF
##2E44871.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214C89
Deuteranopia (green-blind)
#0E4486
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e4487;
/* rgb */ color: rgb(46, 68, 135);
/* oklch */ color: oklch(40.7% 0.115 267.4);
Tailwind
colors: {
  custom: {
    50: '#7177aa',
    500: '#2e4487',
    950: '#000000',
  },
}
SCSS
$custom: #2e4487;
$custom-light: #7177aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4487",
  "rgb": {
    "r": 46,
    "g": 68,
    "b": 135
  },
  "hsl": {
    "h": 225.169,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40651,
    "c": 0.11505,
    "h": 267.4
  },
  "luminance": 0.06464
}

Semantic roles & 50–950 ramp

primary
#2E4487
secondary
#B19D60
accent
#B74FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2E4487

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

Preview Lab → · Contrast checker → · Palette generator →

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