#2E4E9F#2E4E9F

#2E4E9F is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.6% C 0.137 H 265.1°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#2E4E9F
RGBrgb(46, 78, 159)
HSLhsl(223, 55%, 40%)
HSVhsv(223, 71%, 62%)
CMYKcmyk(71.1%, 50.9%, 0%, 37.6%)
CIE-LABlab(35.07, 16.77, -47.52)
CIE-LCHlch(35.07, 50.39, 289.43°)
OKLaboklab(44.62% -0.0117 -0.1364)
OKLCHoklch(44.62% 0.137 265.1)
XYZxyz(10.1069, 8.5318, 33.9083)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E9F #9F7F2E
analogous
#2E869F #2E4E9F #472E9F
triadic
#2E4E9F #9F2E4E #4E9F2E
tetradic
#2E4E9F #9F2E86 #9F7F2E #2E9F47
square
#2E4E9F #9F2E86 #9F7F2E #2E9F47
split-complementary
#2E4E9F #9F472E #869F2E
monochromatic
#131F40 #203770 #2E4E9F #4268C8 #718ED6

Accessibility & contrast

On white

7.76
#2E4E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2E4E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E9F
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E9F#FFFFFF#000000##FFFFFF
##2E4E9F1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E58A2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e4e9f;
/* rgb */ color: rgb(46, 78, 159);
/* oklch */ color: oklch(44.6% 0.137 265.1);
Tailwind
colors: {
  custom: {
    50: '#757fbc',
    500: '#2e4e9f',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e9f;
$custom-light: #757fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e9f",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 159
  },
  "hsl": {
    "h": 223.009,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44615,
    "c": 0.13695,
    "h": 265.1
  },
  "luminance": 0.08533
}

Semantic roles & 50–950 ramp

primary
#2E4E9F
secondary
#BEA66B
accent
#B449DE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2E4E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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