#2E4B8E#2E4B8E

#2E4B8E is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.7% C 0.116 H 264.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#2E4B8E
RGBrgb(46, 75, 142)
HSLhsl(222, 51%, 37%)
HSVhsv(222, 68%, 56%)
CMYKcmyk(67.6%, 47.2%, 0%, 44.3%)
CIE-LABlab(33.06, 12.34, -40.44)
CIE-LCHlch(33.06, 42.27, 286.96°)
OKLaboklab(42.72% -0.0113 -0.1157)
OKLCHoklch(42.72% 0.116 264.4)
XYZxyz(8.5236, 7.5652, 26.5970)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4B8E #8E712E
analogous
#2E7B8E #2E4B8E #412E8E
triadic
#2E4B8E #8E2E4B #4B8E2E
tetradic
#2E4B8E #8E2E7B #8E712E #2E8E41
square
#2E4B8E #8E2E7B #8E712E #2E8E41
split-complementary
#2E4B8E #8E412E #7B8E2E
monochromatic
#101A32 #1F3360 #2E4B8E #3D63BC #6887CE

Accessibility & contrast

On white

8.36
#2E4B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2E4B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4B8E
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4B8E#FFFFFF#000000##FFFFFF
##2E4B8E1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5291
Deuteranopia (green-blind)
#184A8D
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e4b8e;
/* rgb */ color: rgb(46, 75, 142);
/* oklch */ color: oklch(42.7% 0.116 264.4);
Tailwind
colors: {
  custom: {
    50: '#727caf',
    500: '#2e4b8e',
    950: '#000000',
  },
}
SCSS
$custom: #2e4b8e;
$custom-light: #727caf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4b8e",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 142
  },
  "hsl": {
    "h": 221.875,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42716,
    "c": 0.11621,
    "h": 264.4
  },
  "luminance": 0.07566
}

Semantic roles & 50–950 ramp

primary
#2E4B8E
secondary
#B59C63
accent
#B04DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #2E4B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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