#2E4E9B#2E4E9B

#2E4E9B is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.3% C 0.131 H 264.6°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#2E4E9B
RGBrgb(46, 78, 155)
HSLhsl(222, 54%, 39%)
HSVhsv(222, 70%, 61%)
CMYKcmyk(70.3%, 49.7%, 0%, 39.2%)
CIE-LABlab(34.79, 15.25, -45.55)
CIE-LCHlch(34.79, 48.03, 288.51°)
OKLaboklab(44.32% -0.0123 -0.1306)
OKLCHoklch(44.32% 0.131 264.6)
XYZxyz(9.7654, 8.3952, 32.1098)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E9B #9B7B2E
analogous
#2E859B #2E4E9B #442E9B
triadic
#2E4E9B #9B2E4E #4E9B2E
tetradic
#2E4E9B #9B2E85 #9B7B2E #2E9B44
square
#2E4E9B #9B2E85 #9B7B2E #2E9B44
split-complementary
#2E4E9B #9B442E #859B2E
monochromatic
#121F3D #20366C #2E4E9B #4067C6 #6F8DD4

Accessibility & contrast

On white

7.84
#2E4E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2E4E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E9B
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E9B#FFFFFF#000000##FFFFFF
##2E4E9B1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23579E
Deuteranopia (green-blind)
#034D99
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e4e9b;
/* rgb */ color: rgb(46, 78, 155);
/* oklch */ color: oklch(44.3% 0.131 264.6);
Tailwind
colors: {
  custom: {
    50: '#747fb9',
    500: '#2e4e9b',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e9b;
$custom-light: #747fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e9b",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 155
  },
  "hsl": {
    "h": 222.385,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44319,
    "c": 0.13122,
    "h": 264.6
  },
  "luminance": 0.08396
}

Semantic roles & 50–950 ramp

primary
#2E4E9B
secondary
#BCA369
accent
#B24ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E4E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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