#2E4C97#2E4C97

#2E4C97 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.6% C 0.128 H 265.1°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#2E4C97
RGBrgb(46, 76, 151)
HSLhsl(223, 53%, 39%)
HSVhsv(223, 70%, 59%)
CMYKcmyk(69.5%, 49.7%, 0%, 40.8%)
CIE-LABlab(33.95, 15.07, -44.49)
CIE-LCHlch(33.95, 46.97, 288.71°)
OKLaboklab(43.59% -0.0109 -0.1276)
OKLCHoklch(43.59% 0.128 265.1)
XYZxyz(9.2951, 7.9832, 30.3232)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4C97 #97792E
analogous
#2E8097 #2E4C97 #442E97
triadic
#2E4C97 #972E4C #4C972E
tetradic
#2E4C97 #972E80 #97792E #2E9744
square
#2E4C97 #972E80 #97792E #2E9744
split-complementary
#2E4C97 #97442E #80972E
monochromatic
#111D39 #203468 #2E4C97 #3E64C4 #6D8AD2

Accessibility & contrast

On white

8.09
#2E4C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2E4C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4C97
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4C97#FFFFFF#000000##FFFFFF
##2E4C971.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23559A
Deuteranopia (green-blind)
#064B95
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e4c97;
/* rgb */ color: rgb(46, 76, 151);
/* oklch */ color: oklch(43.6% 0.128 265.1);
Tailwind
colors: {
  custom: {
    50: '#737db6',
    500: '#2e4c97',
    950: '#000000',
  },
}
SCSS
$custom: #2e4c97;
$custom-light: #737db6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4c97",
  "rgb": {
    "r": 46,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 222.857,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43587,
    "c": 0.12804,
    "h": 265.1
  },
  "luminance": 0.07984
}

Semantic roles & 50–950 ramp

primary
#2E4C97
secondary
#BAA267
accent
#B34BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2E4C97

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

Preview Lab → · Contrast checker → · Palette generator →

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