#2E207A#2E207A

#2E207A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.144 H 281.9°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#2E207A
RGBrgb(46, 32, 122)
HSLhsl(249, 58%, 30%)
HSVhsv(249, 74%, 48%)
CMYKcmyk(62.3%, 73.8%, 0%, 52.2%)
CIE-LABlab(20.12, 33.58, -48.94)
CIE-LCHlch(20.12, 59.35, 304.46°)
OKLaboklab(32.59% 0.0298 -0.141)
OKLCHoklch(32.59% 0.144 281.9)
XYZxyz(5.1550, 3.0187, 18.7196)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E207A #6C7A20
analogous
#203F7A #2E207A #5B207A
triadic
#2E207A #7A2E20 #207A2E
tetradic
#2E207A #7A203F #6C7A20 #207A5B
square
#2E207A #7A203F #6C7A20 #207A5B
split-complementary
#2E207A #7A5B20 #3F7A20
monochromatic
#090719 #1C134A #2E207A #402DAA #5B46CE

Accessibility & contrast

On white

13.09
#2E207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2E207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E207A
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E207A#FFFFFF#000000##FFFFFF
##2E207A1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#002D78
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e207a;
/* rgb */ color: rgb(46, 32, 122);
/* oklch */ color: oklch(32.6% 0.144 281.9);
Tailwind
colors: {
  custom: {
    50: '#715da1',
    500: '#2e207a',
    950: '#000000',
  },
}
SCSS
$custom: #2e207a;
$custom-light: #715da1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e207a",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 249.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32592,
    "c": 0.14415,
    "h": 281.9
  },
  "luminance": 0.03019
}

Semantic roles & 50–950 ramp

primary
#2E207A
secondary
#9EAD49
accent
#E246C9
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F

Preview Lab

Preview with #2E207A

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

Preview Lab → · Contrast checker → · Palette generator →

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