#2E288A#2E288A

#2E288A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.156 H 277.6°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#2E288A
RGBrgb(46, 40, 138)
HSLhsl(244, 55%, 35%)
HSVhsv(244, 71%, 54%)
CMYKcmyk(66.7%, 71%, 0%, 45.9%)
CIE-LABlab(23.45, 34.13, -53.56)
CIE-LCHlch(23.45, 63.51, 302.51°)
OKLaboklab(35.45% 0.0206 -0.1546)
OKLCHoklch(35.45% 0.156 277.6)
XYZxyz(6.4715, 3.9329, 24.4579)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E288A #848A28
analogous
#28538A #2E288A #5F288A
triadic
#2E288A #8A2E28 #288A2E
tetradic
#2E288A #8A2853 #848A28 #288A5F
square
#2E288A #8A2853 #848A28 #288A5F
split-complementary
#2E288A #8A5F28 #538A28
monochromatic
#0E0C2B #1E1A5B #2E288A #3E36B9 #645DD0

Accessibility & contrast

On white

11.75
#2E288A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2E288A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E288A
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E288A#FFFFFF#000000##FFFFFF
##2E288A1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003488
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e288a;
/* rgb */ color: rgb(46, 40, 138);
/* oklch */ color: oklch(35.5% 0.156 277.6);
Tailwind
colors: {
  custom: {
    50: '#7363ad',
    500: '#2e288a',
    950: '#000000',
  },
}
SCSS
$custom: #2e288a;
$custom-light: #7363ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2e288a",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 243.673,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35453,
    "c": 0.15594,
    "h": 277.6
  },
  "luminance": 0.03933
}

Semantic roles & 50–950 ramp

primary
#2E288A
secondary
#B0B559
accent
#DE49D5
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2E288A

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

Preview Lab → · Contrast checker → · Palette generator →

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