#2E4B9D#2E4B9D

#2E4B9D is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.138 H 266.2°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2E4B9D
RGBrgb(46, 75, 157)
HSLhsl(224, 55%, 40%)
HSVhsv(224, 71%, 62%)
CMYKcmyk(70.7%, 52.2%, 0%, 38.4%)
CIE-LABlab(34.08, 18.01, -47.91)
CIE-LCHlch(34.08, 51.18, 290.61°)
OKLaboklab(43.82% -0.0093 -0.1376)
OKLCHoklch(43.82% 0.138 266.2)
XYZxyz(9.7265, 8.0463, 32.9323)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4B9D #9D802E
analogous
#2E839D #2E4B9D #482E9D
triadic
#2E4B9D #9D2E4B #4B9D2E
tetradic
#2E4B9D #9D2E83 #9D802E #2E9D48
square
#2E4B9D #9D2E83 #9D802E #2E9D48
split-complementary
#2E4B9D #9D482E #839D2E
monochromatic
#121E3E #20346E #2E4B9D #4164C7 #708BD5

Accessibility & contrast

On white

8.05
#2E4B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2E4B9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4B9D
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4B9D#FFFFFF#000000##FFFFFF
##2E4B9D1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1855A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#005E6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e4b9d;
/* rgb */ color: rgb(46, 75, 157);
/* oklch */ color: oklch(43.8% 0.138 266.2);
Tailwind
colors: {
  custom: {
    50: '#757cba',
    500: '#2e4b9d',
    950: '#000000',
  },
}
SCSS
$custom: #2e4b9d;
$custom-light: #757cba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4b9d",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 157
  },
  "hsl": {
    "h": 224.324,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4382,
    "c": 0.13795,
    "h": 266.2
  },
  "luminance": 0.08047
}

Semantic roles & 50–950 ramp

primary
#2E4B9D
secondary
#BDA76A
accent
#B74ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2E4B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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