#2E207B#2E207B

#2E207B is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.145 H 281.7°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#2E207B
RGBrgb(46, 32, 123)
HSLhsl(249, 59%, 30%)
HSVhsv(249, 74%, 48%)
CMYKcmyk(62.6%, 74%, 0%, 51.8%)
CIE-LABlab(20.22, 33.91, -49.41)
CIE-LCHlch(20.22, 59.93, 304.46°)
OKLaboklab(32.69% 0.0296 -0.1424)
OKLCHoklch(32.69% 0.145 281.7)
XYZxyz(5.2173, 3.0436, 19.0476)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E207B #6D7B20
analogous
#203F7B #2E207B #5B207B
triadic
#2E207B #7B2E20 #207B2E
tetradic
#2E207B #7B203F #6D7B20 #207B5B
square
#2E207B #7B203F #6D7B20 #207B5B
split-complementary
#2E207B #7B5B20 #3F7B20
monochromatic
#0A071A #1C134A #2E207B #402DAC #5B46CF

Accessibility & contrast

On white

13.05
#2E207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2E207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E207B
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E207B#FFFFFF#000000##FFFFFF
##2E207B1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#002D79
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e207b;
/* rgb */ color: rgb(46, 32, 123);
/* oklch */ color: oklch(32.7% 0.145 281.7);
Tailwind
colors: {
  custom: {
    50: '#715da2',
    500: '#2e207b',
    950: '#000000',
  },
}
SCSS
$custom: #2e207b;
$custom-light: #715da2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e207b",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 249.231,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32693,
    "c": 0.14546,
    "h": 281.7
  },
  "luminance": 0.03044
}

Semantic roles & 50–950 ramp

primary
#2E207B
secondary
#9FAE49
accent
#E246CA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #2E207B

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

Preview Lab → · Contrast checker → · Palette generator →

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