#231E81#231E81

#231E81 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.158 H 275.1°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#231E81
RGBrgb(35, 30, 129)
HSLhsl(243, 62%, 31%)
HSVhsv(243, 77%, 51%)
CMYKcmyk(72.9%, 76.7%, 0%, 49.4%)
CIE-LABlab(19.52, 35.72, -54.41)
CIE-LCHlch(19.52, 65.09, 303.29°)
OKLaboklab(32.15% 0.0139 -0.1573)
OKLCHoklch(32.15% 0.158 275.1)
XYZxyz(5.1185, 2.8704, 21.0489)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E81 #7C811E
analogous
#1E4A81 #231E81 #541E81
triadic
#231E81 #81231E #1E8123
tetradic
#231E81 #811E4A #7C811E #1E8154
square
#231E81 #811E4A #7C811E #1E8154
split-complementary
#231E81 #81541E #4A811E
monochromatic
#08071E #16124F #231E81 #302AB3 #4D46D4

Accessibility & contrast

On white

13.34
#231E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#231E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E81
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E81#FFFFFF#000000##FFFFFF
##231E811.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003484
Deuteranopia (green-blind)
#002B7F
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #231e81;
/* rgb */ color: rgb(35, 30, 129);
/* oklch */ color: oklch(32.2% 0.158 275.1);
Tailwind
colors: {
  custom: {
    50: '#6e5ba7',
    500: '#231e81',
    950: '#000000',
  },
}
SCSS
$custom: #231e81;
$custom-light: #6e5ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#231e81",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 129
  },
  "hsl": {
    "h": 243.03,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32154,
    "c": 0.15793,
    "h": 275.1
  },
  "luminance": 0.02871
}

Semantic roles & 50–950 ramp

primary
#231E81
secondary
#AFB447
accent
#E542DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #231E81

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

Preview Lab → · Contrast checker → · Palette generator →

#231E81 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva