#2E207D#2E207D

#2E207D is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.148 H 281.4°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#2E207D
RGBrgb(46, 32, 125)
HSLhsl(249, 59%, 31%)
HSVhsv(249, 74%, 49%)
CMYKcmyk(63.2%, 74.4%, 0%, 51%)
CIE-LABlab(20.42, 34.57, -50.36)
CIE-LCHlch(20.42, 61.08, 304.47°)
OKLaboklab(32.9% 0.0292 -0.1452)
OKLCHoklch(32.9% 0.148 281.4)
XYZxyz(5.3437, 3.0942, 19.7137)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E207D #6F7D20
analogous
#20407D #2E207D #5C207D
triadic
#2E207D #7D2E20 #207D2E
tetradic
#2E207D #7D2040 #6F7D20 #207D5C
square
#2E207D #7D2040 #6F7D20 #207D5C
split-complementary
#2E207D #7D5C20 #407D20
monochromatic
#0A071C #1C144C #2E207D #402CAE #5C47D0

Accessibility & contrast

On white

12.97
#2E207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2E207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E207D
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E207D#FFFFFF#000000##FFFFFF
##2E207D1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e207d;
/* rgb */ color: rgb(46, 32, 125);
/* oklch */ color: oklch(32.9% 0.148 281.4);
Tailwind
colors: {
  custom: {
    50: '#715da4',
    500: '#2e207d',
    950: '#000000',
  },
}
SCSS
$custom: #2e207d;
$custom-light: #715da4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e207d",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 249.032,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32896,
    "c": 0.14808,
    "h": 281.4
  },
  "luminance": 0.03095
}

Semantic roles & 50–950 ramp

primary
#2E207D
secondary
#A0B049
accent
#E245CB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #2E207D

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

Preview Lab → · Contrast checker → · Palette generator →

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