#2E4987#2E4987

#2E4987 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.8% C 0.108 H 264.5°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#2E4987
RGBrgb(46, 73, 135)
HSLhsl(222, 49%, 35%)
HSVhsv(222, 66%, 53%)
CMYKcmyk(65.9%, 45.9%, 0%, 47.1%)
CIE-LABlab(32.02, 11.04, -37.80)
CIE-LCHlch(32.02, 39.38, 286.28°)
OKLaboklab(41.77% -0.0104 -0.1079)
OKLCHoklch(41.77% 0.108 264.5)
XYZxyz(7.8809, 7.0945, 23.8710)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4987 #876C2E
analogous
#2E7587 #2E4987 #402E87
triadic
#2E4987 #872E49 #49872E
tetradic
#2E4987 #872E75 #876C2E #2E8740
square
#2E4987 #872E75 #876C2E #2E8740
split-complementary
#2E4987 #87402E #75872E
monochromatic
#0F182C #1E3059 #2E4987 #3E62B5 #6584CA

Accessibility & contrast

On white

8.68
#2E4987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2E4987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4987
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4987#FFFFFF#000000##FFFFFF
##2E49871.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5089
Deuteranopia (green-blind)
#1D4886
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e4987;
/* rgb */ color: rgb(46, 73, 135);
/* oklch */ color: oklch(41.8% 0.108 264.5);
Tailwind
colors: {
  custom: {
    50: '#707baa',
    500: '#2e4987',
    950: '#000000',
  },
}
SCSS
$custom: #2e4987;
$custom-light: #707baa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4987",
  "rgb": {
    "r": 46,
    "g": 73,
    "b": 135
  },
  "hsl": {
    "h": 221.798,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41774,
    "c": 0.10844,
    "h": 264.5
  },
  "luminance": 0.07095
}

Semantic roles & 50–950 ramp

primary
#2E4987
secondary
#B19860
accent
#AF4FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2E4987

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

Preview Lab → · Contrast checker → · Palette generator →

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