#2E4196#2E4196

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

Color values

HEX#2E4196
RGBrgb(46, 65, 150)
HSLhsl(229, 53%, 38%)
HSVhsv(229, 69%, 59%)
CMYKcmyk(69.3%, 56.7%, 0%, 41.2%)
CIE-LABlab(30.79, 22.09, -48.99)
CIE-LCHlch(30.79, 53.74, 294.28°)
OKLaboklab(41.17% -0.0008 -0.141)
OKLCHoklch(41.17% 0.141 269.7)
XYZxyz(8.5202, 6.5626, 29.6659)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4196 #96832E
analogous
#2E7596 #2E4196 #4F2E96
triadic
#2E4196 #962E41 #41962E
tetradic
#2E4196 #962E75 #96832E #2E964F
square
#2E4196 #962E75 #96832E #2E964F
split-complementary
#2E4196 #964F2E #75962E
monochromatic
#111838 #202D67 #2E4196 #3E56C4 #6C7FD2

Accessibility & contrast

On white

9.08
#2E4196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2E4196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4196
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4196#FFFFFF#000000##FFFFFF
##2E41961.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e4196;
/* rgb */ color: rgb(46, 65, 150);
/* oklch */ color: oklch(41.2% 0.141 269.7);
Tailwind
colors: {
  custom: {
    50: '#7475b6',
    500: '#2e4196',
    950: '#000000',
  },
}
SCSS
$custom: #2e4196;
$custom-light: #7475b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4196",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 150
  },
  "hsl": {
    "h": 229.038,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41174,
    "c": 0.14096,
    "h": 269.7
  },
  "luminance": 0.06563
}

Semantic roles & 50–950 ramp

primary
#2E4196
secondary
#B9AA67
accent
#C24BDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4196

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

Preview Lab → · Contrast checker → · Palette generator →

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