#2E4197#2E4197

#2E4197 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.142 H 269.7°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#2E4197
RGBrgb(46, 65, 151)
HSLhsl(229, 53%, 39%)
HSVhsv(229, 70%, 59%)
CMYKcmyk(69.5%, 57%, 0%, 40.8%)
CIE-LABlab(30.87, 22.47, -49.47)
CIE-LCHlch(30.87, 54.33, 294.43°)
OKLaboklab(41.26% -0.0008 -0.1424)
OKLCHoklch(41.26% 0.142 269.7)
XYZxyz(8.6010, 6.5950, 30.0918)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4197 #97842E
analogous
#2E7597 #2E4197 #4F2E97
triadic
#2E4197 #972E41 #41972E
tetradic
#2E4197 #972E75 #97842E #2E974F
square
#2E4197 #972E75 #97842E #2E974F
split-complementary
#2E4197 #974F2E #75972E
monochromatic
#111939 #202D68 #2E4197 #3E56C4 #6D7FD2

Accessibility & contrast

On white

9.05
#2E4197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2E4197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4197
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4197#FFFFFF#000000##FFFFFF
##2E41971.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e4197;
/* rgb */ color: rgb(46, 65, 151);
/* oklch */ color: oklch(41.3% 0.142 269.7);
Tailwind
colors: {
  custom: {
    50: '#7475b6',
    500: '#2e4197',
    950: '#000000',
  },
}
SCSS
$custom: #2e4197;
$custom-light: #7475b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4197",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 151
  },
  "hsl": {
    "h": 229.143,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41256,
    "c": 0.14239,
    "h": 269.7
  },
  "luminance": 0.06596
}

Semantic roles & 50–950 ramp

primary
#2E4197
secondary
#BAAB67
accent
#C24BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4197

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

Preview Lab → · Contrast checker → · Palette generator →

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