#2E4A9D#2E4A9D

#2E4A9D is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.6% C 0.139 H 266.6°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#2E4A9D
RGBrgb(46, 74, 157)
HSLhsl(225, 55%, 40%)
HSVhsv(225, 71%, 62%)
CMYKcmyk(70.7%, 52.9%, 0%, 38.4%)
CIE-LABlab(33.80, 18.68, -48.36)
CIE-LCHlch(33.80, 51.84, 291.12°)
OKLaboklab(43.61% -0.0084 -0.139)
OKLCHoklch(43.61% 0.139 266.6)
XYZxyz(9.6592, 7.9118, 32.9098)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4A9D #9D812E
analogous
#2E829D #2E4A9D #4A2E9D
triadic
#2E4A9D #9D2E4A #4A9D2E
tetradic
#2E4A9D #9D2E82 #9D812E #2E9D4A
square
#2E4A9D #9D2E82 #9D812E #2E9D4A
split-complementary
#2E4A9D #9D4A2E #829D2E
monochromatic
#121D3E #20346E #2E4A9D #4163C7 #708AD5

Accessibility & contrast

On white

8.13
#2E4A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2E4A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4A9D
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4A9D#FFFFFF#000000##FFFFFF
##2E4A9D1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1455A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#005E6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e4a9d;
/* rgb */ color: rgb(46, 74, 157);
/* oklch */ color: oklch(43.6% 0.139 266.6);
Tailwind
colors: {
  custom: {
    50: '#757cba',
    500: '#2e4a9d',
    950: '#000000',
  },
}
SCSS
$custom: #2e4a9d;
$custom-light: #757cba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4a9d",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 157
  },
  "hsl": {
    "h": 224.865,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43607,
    "c": 0.13924,
    "h": 266.6
  },
  "luminance": 0.07913
}

Semantic roles & 50–950 ramp

primary
#2E4A9D
secondary
#BDA86A
accent
#B94ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2E4A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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