#231E99#231E99

#231E99 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.188 H 272.6°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#231E99
RGBrgb(35, 30, 153)
HSLhsl(242, 67%, 36%)
HSVhsv(242, 80%, 60%)
CMYKcmyk(77.1%, 80.4%, 0%, 40%)
CIE-LABlab(22.25, 43.77, -64.86)
CIE-LCHlch(22.25, 78.24, 304.01°)
OKLaboklab(34.88% 0.0086 -0.1877)
OKLCHoklch(34.88% 0.188 272.6)
XYZxyz(6.9053, 3.5850, 30.4589)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E99 #94991E
analogous
#1E5699 #231E99 #601E99
triadic
#231E99 #99231E #1E9923
tetradic
#231E99 #991E56 #94991E #1E9960
square
#231E99 #991E56 #94991E #1E9960
split-complementary
#231E99 #99601E #56991E
monochromatic
#0C0A33 #171466 #231E99 #2F28CC #5A54DD

Accessibility & contrast

On white

12.23
#231E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#231E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E99
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E99#FFFFFF#000000##FFFFFF
##231E991.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9C
Deuteranopia (green-blind)
#002F97
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #231e99;
/* rgb */ color: rgb(35, 30, 153);
/* oklch */ color: oklch(34.9% 0.188 272.6);
Tailwind
colors: {
  custom: {
    50: '#745db8',
    500: '#231e99',
    950: '#000000',
  },
}
SCSS
$custom: #231e99;
$custom-light: #745db8;
$custom-dark: #000000;
JSON
{
  "hex": "#231e99",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 153
  },
  "hsl": {
    "h": 242.439,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3488,
    "c": 0.18787,
    "h": 272.6
  },
  "luminance": 0.03586
}

Semantic roles & 50–950 ramp

primary
#231E99
secondary
#BCC152
accent
#EA3EE3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #231E99

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

Preview Lab → · Contrast checker → · Palette generator →

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