#2E208F#2E208F

#2E208F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.171 H 278.4°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#2E208F
RGBrgb(46, 32, 143)
HSLhsl(248, 63%, 34%)
HSVhsv(248, 78%, 56%)
CMYKcmyk(67.8%, 77.6%, 0%, 43.9%)
CIE-LABlab(22.29, 40.47, -58.58)
CIE-LCHlch(22.29, 71.20, 304.63°)
OKLaboklab(34.78% 0.0249 -0.1692)
OKLCHoklch(34.78% 0.171 278.4)
XYZxyz(6.5996, 3.5965, 26.3277)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E208F #818F20
analogous
#20498F #2E208F #66208F
triadic
#2E208F #8F2E20 #208F2E
tetradic
#2E208F #8F2049 #818F20 #208F66
square
#2E208F #8F2049 #818F20 #208F66
split-complementary
#2E208F #8F6620 #498F20
monochromatic
#0E0A2B #1E155D #2E208F #3E2BC1 #6251D8

Accessibility & contrast

On white

12.21
#2E208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2E208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E208F
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E208F#FFFFFF#000000##FFFFFF
##2E208F1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e208f;
/* rgb */ color: rgb(46, 32, 143);
/* oklch */ color: oklch(34.8% 0.171 278.4);
Tailwind
colors: {
  custom: {
    50: '#755eb1',
    500: '#2e208f',
    950: '#000000',
  },
}
SCSS
$custom: #2e208f;
$custom-light: #755eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e208f",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 247.568,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34784,
    "c": 0.17103,
    "h": 278.4
  },
  "luminance": 0.03597
}

Semantic roles & 50–950 ramp

primary
#2E208F
secondary
#AEBB4F
accent
#E641D2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2E208F

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

Preview Lab → · Contrast checker → · Palette generator →

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