#2E207C#2E207C

#2E207C is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.147 H 281.6°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#2E207C
RGBrgb(46, 32, 124)
HSLhsl(249, 59%, 31%)
HSVhsv(249, 74%, 49%)
CMYKcmyk(62.9%, 74.2%, 0%, 51.4%)
CIE-LABlab(20.32, 34.24, -49.88)
CIE-LCHlch(20.32, 60.51, 304.47°)
OKLaboklab(32.79% 0.0294 -0.1438)
OKLCHoklch(32.79% 0.147 281.6)
XYZxyz(5.2802, 3.0687, 19.3790)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E207C #6E7C20
analogous
#20407C #2E207C #5C207C
triadic
#2E207C #7C2E20 #207C2E
tetradic
#2E207C #7C2040 #6E7C20 #207C5C
square
#2E207C #7C2040 #6E7C20 #207C5C
split-complementary
#2E207C #7C5C20 #407C20
monochromatic
#0A071B #1C134B #2E207C #402DAD #5C47CF

Accessibility & contrast

On white

13.01
#2E207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E207C
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E207C#FFFFFF#000000##FFFFFF
##2E207C1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#002E7A
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e207c;
/* rgb */ color: rgb(46, 32, 124);
/* oklch */ color: oklch(32.8% 0.147 281.6);
Tailwind
colors: {
  custom: {
    50: '#715da3',
    500: '#2e207c',
    950: '#000000',
  },
}
SCSS
$custom: #2e207c;
$custom-light: #715da3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e207c",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 249.13,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32794,
    "c": 0.14677,
    "h": 281.6
  },
  "luminance": 0.03069
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E207C

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

Preview Lab → · Contrast checker → · Palette generator →

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