#2E207E#2E207E

#2E207E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.149 H 281.2°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#2E207E
RGBrgb(46, 32, 126)
HSLhsl(249, 59%, 31%)
HSVhsv(249, 75%, 49%)
CMYKcmyk(63.5%, 74.6%, 0%, 50.6%)
CIE-LABlab(20.52, 34.91, -50.83)
CIE-LCHlch(20.52, 61.66, 304.48°)
OKLaboklab(33% 0.029 -0.1466)
OKLCHoklch(33% 0.149 281.2)
XYZxyz(5.4079, 3.1198, 20.0518)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E207E #707E20
analogous
#20417E #2E207E #5D207E
triadic
#2E207E #7E2E20 #207E2E
tetradic
#2E207E #7E2041 #707E20 #207E5D
square
#2E207E #7E2041 #707E20 #207E5D
split-complementary
#2E207E #7E5D20 #417E20
monochromatic
#0A071C #1C144D #2E207E #402CAF #5C48D0

Accessibility & contrast

On white

12.93
#2E207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E207E
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E207E#FFFFFF#000000##FFFFFF
##2E207E1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e207e;
/* rgb */ color: rgb(46, 32, 126);
/* oklch */ color: oklch(33.0% 0.149 281.2);
Tailwind
colors: {
  custom: {
    50: '#725da4',
    500: '#2e207e',
    950: '#000000',
  },
}
SCSS
$custom: #2e207e;
$custom-light: #725da4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e207e",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 248.936,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32998,
    "c": 0.14939,
    "h": 281.2
  },
  "luminance": 0.0312
}

Semantic roles & 50–950 ramp

primary
#2E207E
secondary
#A1B149
accent
#E345CB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #2E207E

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

Preview Lab → · Contrast checker → · Palette generator →

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