#2E208C#2E208C

#2E208C is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.167 H 278.8°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#2E208C
RGBrgb(46, 32, 140)
HSLhsl(248, 63%, 34%)
HSVhsv(248, 77%, 55%)
CMYKcmyk(67.1%, 77.1%, 0%, 45.1%)
CIE-LABlab(21.97, 39.49, -57.24)
CIE-LCHlch(21.97, 69.55, 304.60°)
OKLaboklab(34.46% 0.0257 -0.1653)
OKLCHoklch(34.46% 0.167 278.8)
XYZxyz(6.3753, 3.5068, 25.1468)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E208C #7E8C20
analogous
#20488C #2E208C #64208C
triadic
#2E208C #8C2E20 #208C2E
tetradic
#2E208C #8C2048 #7E8C20 #208C64
square
#2E208C #8C2048 #7E8C20 #208C64
split-complementary
#2E208C #8C6420 #488C20
monochromatic
#0D0928 #1E155A #2E208C #3E2BBE #6150D7

Accessibility & contrast

On white

12.34
#2E208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2E208C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E208C
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E208C#FFFFFF#000000##FFFFFF
##2E208C1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398F
Deuteranopia (green-blind)
#00308A
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e208c;
/* rgb */ color: rgb(46, 32, 140);
/* oklch */ color: oklch(34.5% 0.167 278.8);
Tailwind
colors: {
  custom: {
    50: '#755eaf',
    500: '#2e208c',
    950: '#000000',
  },
}
SCSS
$custom: #2e208c;
$custom-light: #755eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e208c",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 247.778,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34462,
    "c": 0.16728,
    "h": 278.8
  },
  "luminance": 0.03507
}

Semantic roles & 50–950 ramp

primary
#2E208C
secondary
#ACBA4E
accent
#E642D1
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #2E208C

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

Preview Lab → · Contrast checker → · Palette generator →

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