#2E4E9A#2E4E9A

#2E4E9A is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.2% C 0.130 H 264.5°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#2E4E9A
RGBrgb(46, 78, 154)
HSLhsl(222, 54%, 39%)
HSVhsv(222, 70%, 60%)
CMYKcmyk(70.1%, 49.4%, 0%, 39.6%)
CIE-LABlab(34.73, 14.87, -45.06)
CIE-LCHlch(34.73, 47.45, 288.26°)
OKLaboklab(44.25% -0.0124 -0.1292)
OKLCHoklch(44.25% 0.13 264.5)
XYZxyz(9.6818, 8.3617, 31.6693)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E9A #9A7A2E
analogous
#2E849A #2E4E9A #442E9A
triadic
#2E4E9A #9A2E4E #4E9A2E
tetradic
#2E4E9A #9A2E84 #9A7A2E #2E9A44
square
#2E4E9A #9A2E84 #9A7A2E #2E9A44
split-complementary
#2E4E9A #9A442E #849A2E
monochromatic
#121E3C #20366B #2E4E9A #3F67C6 #6F8DD4

Accessibility & contrast

On white

7.86
#2E4E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2E4E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E9A
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E9A#FFFFFF#000000##FFFFFF
##2E4E9A1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25579D
Deuteranopia (green-blind)
#064D98
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e4e9a;
/* rgb */ color: rgb(46, 78, 154);
/* oklch */ color: oklch(44.2% 0.130 264.5);
Tailwind
colors: {
  custom: {
    50: '#747fb8',
    500: '#2e4e9a',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e9a;
$custom-light: #747fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e9a",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 154
  },
  "hsl": {
    "h": 222.222,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44245,
    "c": 0.12979,
    "h": 264.5
  },
  "luminance": 0.08363
}

Semantic roles & 50–950 ramp

primary
#2E4E9A
secondary
#BBA369
accent
#B24ADD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E4E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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