#2E4E95#2E4E95

#2E4E95 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.9% C 0.123 H 263.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#2E4E95
RGBrgb(46, 78, 149)
HSLhsl(221, 53%, 38%)
HSVhsv(221, 69%, 58%)
CMYKcmyk(69.1%, 47.7%, 0%, 41.6%)
CIE-LABlab(34.39, 12.97, -42.56)
CIE-LCHlch(34.39, 44.50, 286.95°)
OKLaboklab(43.89% -0.0132 -0.1219)
OKLCHoklch(43.89% 0.123 263.8)
XYZxyz(9.2740, 8.1986, 29.5217)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E95 #95752E
analogous
#2E8195 #2E4E95 #412E95
triadic
#2E4E95 #952E4E #4E952E
tetradic
#2E4E95 #952E81 #95752E #2E9541
square
#2E4E95 #952E81 #95752E #2E9541
split-complementary
#2E4E95 #95412E #81952E
monochromatic
#111D37 #203666 #2E4E95 #3D67C3 #6C8BD2

Accessibility & contrast

On white

7.95
#2E4E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2E4E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E95
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E95#FFFFFF#000000##FFFFFF
##2E4E951.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5698
Deuteranopia (green-blind)
#144C94
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e4e95;
/* rgb */ color: rgb(46, 78, 149);
/* oklch */ color: oklch(43.9% 0.123 263.8);
Tailwind
colors: {
  custom: {
    50: '#737fb5',
    500: '#2e4e95',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e95;
$custom-light: #737fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e95",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 221.359,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43885,
    "c": 0.12257,
    "h": 263.8
  },
  "luminance": 0.082
}

Semantic roles & 50–950 ramp

primary
#2E4E95
secondary
#B99F66
accent
#AF4CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E4E95

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

Preview Lab → · Contrast checker → · Palette generator →

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