#2E208D#2E208D

#2E208D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.6% C 0.169 H 278.7°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#2E208D
RGBrgb(46, 32, 141)
HSLhsl(248, 63%, 34%)
HSVhsv(248, 77%, 55%)
CMYKcmyk(67.4%, 77.3%, 0%, 44.7%)
CIE-LABlab(22.08, 39.82, -57.69)
CIE-LCHlch(22.08, 70.10, 304.61°)
OKLaboklab(34.57% 0.0254 -0.1666)
OKLCHoklch(34.57% 0.169 278.7)
XYZxyz(6.4494, 3.5364, 25.5369)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E208D #7F8D20
analogous
#20498D #2E208D #65208D
triadic
#2E208D #8D2E20 #208D2E
tetradic
#2E208D #8D2049 #7F8D20 #208D65
square
#2E208D #8D2049 #7F8D20 #208D65
split-complementary
#2E208D #8D6520 #498D20
monochromatic
#0D0929 #1E155B #2E208D #3E2BBF #6150D7

Accessibility & contrast

On white

12.30
#2E208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2E208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E208D
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E208D#FFFFFF#000000##FFFFFF
##2E208D1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003990
Deuteranopia (green-blind)
#00308B
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e208d;
/* rgb */ color: rgb(46, 32, 141);
/* oklch */ color: oklch(34.6% 0.169 278.7);
Tailwind
colors: {
  custom: {
    50: '#755eaf',
    500: '#2e208d',
    950: '#000000',
  },
}
SCSS
$custom: #2e208d;
$custom-light: #755eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e208d",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 247.706,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34569,
    "c": 0.16853,
    "h": 278.7
  },
  "luminance": 0.03537
}

Semantic roles & 50–950 ramp

primary
#2E208D
secondary
#ADBA4E
accent
#E642D1
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #2E208D

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

Preview Lab → · Contrast checker → · Palette generator →

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