#2E4396#2E4396

#2E4396 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.138 H 268.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#2E4396
RGBrgb(46, 67, 150)
HSLhsl(228, 53%, 38%)
HSVhsv(228, 69%, 59%)
CMYKcmyk(69.3%, 55.3%, 0%, 41.2%)
CIE-LABlab(31.34, 20.74, -48.10)
CIE-LCHlch(31.34, 52.38, 293.33°)
OKLaboklab(41.59% -0.0026 -0.1383)
OKLCHoklch(41.59% 0.138 268.9)
XYZxyz(8.6370, 6.7963, 29.7049)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4396 #96812E
analogous
#2E7796 #2E4396 #4D2E96
triadic
#2E4396 #962E43 #43962E
tetradic
#2E4396 #962E77 #96812E #2E964D
square
#2E4396 #962E77 #96812E #2E964D
split-complementary
#2E4396 #964D2E #77962E
monochromatic
#111938 #202E67 #2E4396 #3E59C4 #6C81D2

Accessibility & contrast

On white

8.90
#2E4396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2E4396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4396
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4396#FFFFFF#000000##FFFFFF
##2E43961.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024F99
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e4396;
/* rgb */ color: rgb(46, 67, 150);
/* oklch */ color: oklch(41.6% 0.138 268.9);
Tailwind
colors: {
  custom: {
    50: '#7476b5',
    500: '#2e4396',
    950: '#000000',
  },
}
SCSS
$custom: #2e4396;
$custom-light: #7476b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4396",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 150
  },
  "hsl": {
    "h": 227.885,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41586,
    "c": 0.13834,
    "h": 268.9
  },
  "luminance": 0.06797
}

Semantic roles & 50–950 ramp

primary
#2E4396
secondary
#B9A967
accent
#BF4BDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4396

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

Preview Lab → · Contrast checker → · Palette generator →

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