#2E4E9E#2E4E9E

#2E4E9E is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.5% C 0.136 H 265.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#2E4E9E
RGBrgb(46, 78, 158)
HSLhsl(223, 55%, 40%)
HSVhsv(223, 71%, 62%)
CMYKcmyk(70.9%, 50.6%, 0%, 38%)
CIE-LABlab(35.00, 16.39, -47.03)
CIE-LCHlch(35.00, 49.80, 289.21°)
OKLaboklab(44.54% -0.0119 -0.135)
OKLCHoklch(44.54% 0.136 265)
XYZxyz(10.0205, 8.4972, 33.4532)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E9E #9E7E2E
analogous
#2E869E #2E4E9E #462E9E
triadic
#2E4E9E #9E2E4E #4E9E2E
tetradic
#2E4E9E #9E2E86 #9E7E2E #2E9E46
square
#2E4E9E #9E2E86 #9E7E2E #2E9E46
split-complementary
#2E4E9E #9E462E #869E2E
monochromatic
#121F3F #20376F #2E4E9E #4168C8 #718ED6

Accessibility & contrast

On white

7.78
#2E4E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2E4E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E9E
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E9E#FFFFFF#000000##FFFFFF
##2E4E9E1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2058A1
Deuteranopia (green-blind)
#004D9C
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e4e9e;
/* rgb */ color: rgb(46, 78, 158);
/* oklch */ color: oklch(44.5% 0.136 265.0);
Tailwind
colors: {
  custom: {
    50: '#757fbb',
    500: '#2e4e9e',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e9e;
$custom-light: #757fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e9e",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 158
  },
  "hsl": {
    "h": 222.857,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.4454,
    "c": 0.13552,
    "h": 265
  },
  "luminance": 0.08498
}

Semantic roles & 50–950 ramp

primary
#2E4E9E
secondary
#BDA66B
accent
#B44ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2E4E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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