#2E4E9D#2E4E9D

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

Color values

HEX#2E4E9D
RGBrgb(46, 78, 157)
HSLhsl(223, 55%, 40%)
HSVhsv(223, 71%, 62%)
CMYKcmyk(70.7%, 50.3%, 0%, 38.4%)
CIE-LABlab(34.93, 16.01, -46.54)
CIE-LCHlch(34.93, 49.21, 288.98°)
OKLaboklab(44.47% -0.012 -0.1336)
OKLCHoklch(44.47% 0.134 264.9)
XYZxyz(9.9348, 8.4629, 33.0017)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E9D #9D7D2E
analogous
#2E859D #2E4E9D #462E9D
triadic
#2E4E9D #9D2E4E #4E9D2E
tetradic
#2E4E9D #9D2E85 #9D7D2E #2E9D46
square
#2E4E9D #9D2E85 #9D7D2E #2E9D46
split-complementary
#2E4E9D #9D462E #859D2E
monochromatic
#121F3E #20366E #2E4E9D #4168C7 #708DD5

Accessibility & contrast

On white

7.80
#2E4E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2E4E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E9D
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E9D#FFFFFF#000000##FFFFFF
##2E4E9D1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2158A0
Deuteranopia (green-blind)
#004D9B
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e4e9d;
/* rgb */ color: rgb(46, 78, 157);
/* oklch */ color: oklch(44.5% 0.134 264.9);
Tailwind
colors: {
  custom: {
    50: '#757fba',
    500: '#2e4e9d',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e9d;
$custom-light: #757fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e9d",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 222.703,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44466,
    "c": 0.1341,
    "h": 264.9
  },
  "luminance": 0.08464
}

Semantic roles & 50–950 ramp

primary
#2E4E9D
secondary
#BDA56A
accent
#B34ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2E4E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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