#231E96#231E96

#231E96 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.184 H 272.9°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#231E96
RGBrgb(35, 30, 150)
HSLhsl(243, 67%, 35%)
HSVhsv(243, 80%, 59%)
CMYKcmyk(76.7%, 80%, 0%, 41.2%)
CIE-LABlab(21.90, 42.79, -63.59)
CIE-LCHlch(21.90, 76.64, 303.93°)
OKLaboklab(34.53% 0.0092 -0.184)
OKLCHoklch(34.53% 0.184 272.9)
XYZxyz(6.6606, 3.4872, 29.1703)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E96 #91961E
analogous
#1E5596 #231E96 #5F1E96
triadic
#231E96 #96231E #1E9623
tetradic
#231E96 #961E55 #91961E #1E965F
square
#231E96 #961E55 #91961E #1E965F
split-complementary
#231E96 #965F1E #55961E
monochromatic
#0B0A30 #171463 #231E96 #2F28C9 #5852DC

Accessibility & contrast

On white

12.37
#231E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#231E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E96
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E96#FFFFFF#000000##FFFFFF
##231E961.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A99
Deuteranopia (green-blind)
#002F94
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #231e96;
/* rgb */ color: rgb(35, 30, 150);
/* oklch */ color: oklch(34.5% 0.184 272.9);
Tailwind
colors: {
  custom: {
    50: '#735db6',
    500: '#231e96',
    950: '#000000',
  },
}
SCSS
$custom: #231e96;
$custom-light: #735db6;
$custom-dark: #000000;
JSON
{
  "hex": "#231e96",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 242.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34532,
    "c": 0.18424,
    "h": 272.9
  },
  "luminance": 0.03488
}

Semantic roles & 50–950 ramp

primary
#231E96
secondary
#BBBF50
accent
#EA3EE2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231E96

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

Preview Lab → · Contrast checker → · Palette generator →

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