#2E4199#2E4199

#2E4199 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.4% C 0.145 H 269.7°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#2E4199
RGBrgb(46, 65, 153)
HSLhsl(229, 54%, 39%)
HSVhsv(229, 70%, 60%)
CMYKcmyk(69.9%, 57.5%, 0%, 40%)
CIE-LABlab(31.02, 23.22, -50.44)
CIE-LCHlch(31.02, 55.52, 294.72°)
OKLaboklab(41.42% -0.0007 -0.1452)
OKLCHoklch(41.42% 0.145 269.7)
XYZxyz(8.7648, 6.6605, 30.9545)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4199 #99862E
analogous
#2E7799 #2E4199 #512E99
triadic
#2E4199 #992E41 #41992E
tetradic
#2E4199 #992E77 #99862E #2E9951
square
#2E4199 #992E77 #99862E #2E9951
split-complementary
#2E4199 #99512E #77992E
monochromatic
#12193B #202D6A #2E4199 #3F57C5 #6E80D3

Accessibility & contrast

On white

9.00
#2E4199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2E4199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4199
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4199#FFFFFF#000000##FFFFFF
##2E41991.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e4199;
/* rgb */ color: rgb(46, 65, 153);
/* oklch */ color: oklch(41.4% 0.145 269.7);
Tailwind
colors: {
  custom: {
    50: '#7575b8',
    500: '#2e4199',
    950: '#000000',
  },
}
SCSS
$custom: #2e4199;
$custom-light: #7575b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4199",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 153
  },
  "hsl": {
    "h": 229.346,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4142,
    "c": 0.14523,
    "h": 269.7
  },
  "luminance": 0.06661
}

Semantic roles & 50–950 ramp

primary
#2E4199
secondary
#BBAC68
accent
#C34BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4199

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

Preview Lab → · Contrast checker → · Palette generator →

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