#2E4B84#2E4B84

#2E4B84 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.0% C 0.101 H 262.5°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#2E4B84
RGBrgb(46, 75, 132)
HSLhsl(220, 48%, 35%)
HSVhsv(220, 65%, 52%)
CMYKcmyk(65.2%, 43.2%, 0%, 48.2%)
CIE-LABlab(32.43, 8.58, -35.29)
CIE-LCHlch(32.43, 36.32, 283.66°)
OKLaboklab(42.03% -0.0132 -0.1005)
OKLCHoklch(42.03% 0.101 262.5)
XYZxyz(7.8062, 7.2782, 22.8188)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4B84 #84672E
analogous
#2E7684 #2E4B84 #3C2E84
triadic
#2E4B84 #842E4B #4B842E
tetradic
#2E4B84 #842E76 #84672E #2E843C
square
#2E4B84 #842E76 #84672E #2E843C
split-complementary
#2E4B84 #843C2E #76842E
monochromatic
#0E1729 #1E3157 #2E4B84 #3E65B1 #6486C9

Accessibility & contrast

On white

8.55
#2E4B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2E4B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4B84
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4B84#FFFFFF#000000##FFFFFF
##2E4B841.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315186
Deuteranopia (green-blind)
#244983
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e4b84;
/* rgb */ color: rgb(46, 75, 132);
/* oklch */ color: oklch(42.0% 0.101 262.5);
Tailwind
colors: {
  custom: {
    50: '#707ca8',
    500: '#2e4b84',
    950: '#000000',
  },
}
SCSS
$custom: #2e4b84;
$custom-light: #707ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4b84",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 132
  },
  "hsl": {
    "h": 219.767,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4203,
    "c": 0.10141,
    "h": 262.5
  },
  "luminance": 0.07279
}

Semantic roles & 50–950 ramp

primary
#2E4B84
secondary
#B0945E
accent
#AA50D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2E4B84

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

Preview Lab → · Contrast checker → · Palette generator →

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