#2E4F9E#2E4F9E

#2E4F9E is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.8% C 0.134 H 264.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#2E4F9E
RGBrgb(46, 79, 158)
HSLhsl(222, 55%, 40%)
HSVhsv(222, 71%, 62%)
CMYKcmyk(70.9%, 50%, 0%, 38%)
CIE-LABlab(35.28, 15.72, -46.57)
CIE-LCHlch(35.28, 49.15, 288.65°)
OKLaboklab(44.76% -0.0128 -0.1336)
OKLCHoklch(44.76% 0.134 264.5)
XYZxyz(10.0921, 8.6404, 33.4770)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4F9E #9E7D2E
analogous
#2E879E #2E4F9E #452E9E
triadic
#2E4F9E #9E2E4F #4F9E2E
tetradic
#2E4F9E #9E2E87 #9E7D2E #2E9E45
square
#2E4F9E #9E2E87 #9E7D2E #2E9E45
split-complementary
#2E4F9E #9E452E #879E2E
monochromatic
#12203F #20376F #2E4F9E #4169C8 #718FD6

Accessibility & contrast

On white

7.70
#2E4F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2E4F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4F9E
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4F9E#FFFFFF#000000##FFFFFF
##2E4F9E1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2358A1
Deuteranopia (green-blind)
#004E9C
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e4f9e;
/* rgb */ color: rgb(46, 79, 158);
/* oklch */ color: oklch(44.8% 0.134 264.5);
Tailwind
colors: {
  custom: {
    50: '#757fbb',
    500: '#2e4f9e',
    950: '#000000',
  },
}
SCSS
$custom: #2e4f9e;
$custom-light: #757fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4f9e",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 158
  },
  "hsl": {
    "h": 222.321,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.44758,
    "c": 0.13424,
    "h": 264.5
  },
  "luminance": 0.08641
}

Semantic roles & 50–950 ramp

primary
#2E4F9E
secondary
#BDA56B
accent
#B24ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2E4F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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