#2E208A#2E208A

#2E208A is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.165 H 279.1°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#2E208A
RGBrgb(46, 32, 138)
HSLhsl(248, 62%, 33%)
HSVhsv(248, 77%, 54%)
CMYKcmyk(66.7%, 76.8%, 0%, 45.9%)
CIE-LABlab(21.76, 38.85, -56.34)
CIE-LCHlch(21.76, 68.44, 304.58°)
OKLaboklab(34.25% 0.0262 -0.1627)
OKLCHoklch(34.25% 0.165 279.1)
XYZxyz(6.2292, 3.4483, 24.3772)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E208A #7C8A20
analogous
#20478A #2E208A #63208A
triadic
#2E208A #8A2E20 #208A2E
tetradic
#2E208A #8A2047 #7C8A20 #208A63
square
#2E208A #8A2047 #7C8A20 #208A63
split-complementary
#2E208A #8A6320 #478A20
monochromatic
#0D0927 #1D1458 #2E208A #3F2CBC #604ED6

Accessibility & contrast

On white

12.43
#2E208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2E208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E208A
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E208A#FFFFFF#000000##FFFFFF
##2E208A1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388D
Deuteranopia (green-blind)
#003088
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e208a;
/* rgb */ color: rgb(46, 32, 138);
/* oklch */ color: oklch(34.2% 0.165 279.1);
Tailwind
colors: {
  custom: {
    50: '#745ead',
    500: '#2e208a',
    950: '#000000',
  },
}
SCSS
$custom: #2e208a;
$custom-light: #745ead;
$custom-dark: #000000;
JSON
{
  "hex": "#2e208a",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 247.925,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34249,
    "c": 0.16477,
    "h": 279.1
  },
  "luminance": 0.03449
}

Semantic roles & 50–950 ramp

primary
#2E208A
secondary
#ABB94D
accent
#E542D0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2E208A

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

Preview Lab → · Contrast checker → · Palette generator →

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