#2E4B95#2E4B95

#2E4B95 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.126 H 265.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2E4B95
RGBrgb(46, 75, 149)
HSLhsl(223, 53%, 38%)
HSVhsv(223, 69%, 58%)
CMYKcmyk(69.1%, 49.7%, 0%, 41.6%)
CIE-LABlab(33.52, 14.98, -43.96)
CIE-LCHlch(33.52, 46.44, 288.82°)
OKLaboklab(43.22% -0.0102 -0.126)
OKLCHoklch(43.22% 0.126 265.4)
XYZxyz(9.0657, 7.7820, 29.4523)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4B95 #95782E
analogous
#2E7E95 #2E4B95 #442E95
triadic
#2E4B95 #952E4B #4B952E
tetradic
#2E4B95 #952E7E #95782E #2E9544
square
#2E4B95 #952E7E #95782E #2E9544
split-complementary
#2E4B95 #95442E #7E952E
monochromatic
#111C37 #203366 #2E4B95 #3D63C3 #6C88D2

Accessibility & contrast

On white

8.21
#2E4B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2E4B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4B95
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4B95#FFFFFF#000000##FFFFFF
##2E4B951.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235498
Deuteranopia (green-blind)
#074A93
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e4b95;
/* rgb */ color: rgb(46, 75, 149);
/* oklch */ color: oklch(43.2% 0.126 265.4);
Tailwind
colors: {
  custom: {
    50: '#737cb5',
    500: '#2e4b95',
    950: '#000000',
  },
}
SCSS
$custom: #2e4b95;
$custom-light: #737cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4b95",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 149
  },
  "hsl": {
    "h": 223.107,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43221,
    "c": 0.12643,
    "h": 265.4
  },
  "luminance": 0.07783
}

Semantic roles & 50–950 ramp

primary
#2E4B95
secondary
#B9A166
accent
#B44CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2E4B95

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

Preview Lab → · Contrast checker → · Palette generator →

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