#231D96#231D96

#231D96 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.4% C 0.185 H 273.0°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#231D96
RGBrgb(35, 29, 150)
HSLhsl(243, 68%, 35%)
HSVhsv(243, 81%, 59%)
CMYKcmyk(76.7%, 80.7%, 0%, 41.2%)
CIE-LABlab(21.72, 43.31, -63.89)
CIE-LCHlch(21.72, 77.19, 304.13°)
OKLaboklab(34.41% 0.0096 -0.1849)
OKLCHoklch(34.41% 0.185 273)
XYZxyz(6.6357, 3.4374, 29.1620)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D96 #90961D
analogous
#1D5496 #231D96 #5F1D96
triadic
#231D96 #96231D #1D9623
tetradic
#231D96 #961D54 #90961D #1D965F
square
#231D96 #961D54 #90961D #1D965F
split-complementary
#231D96 #965F1D #54961D
monochromatic
#0B092F #171363 #231D96 #2F27C9 #5750DD

Accessibility & contrast

On white

12.44
#231D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#231D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D96
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D96#FFFFFF#000000##FFFFFF
##231D961.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231d96;
/* rgb */ color: rgb(35, 29, 150);
/* oklch */ color: oklch(34.4% 0.185 273.0);
Tailwind
colors: {
  custom: {
    50: '#735cb6',
    500: '#231d96',
    950: '#000000',
  },
}
SCSS
$custom: #231d96;
$custom-light: #735cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#231d96",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 242.975,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34405,
    "c": 0.18512,
    "h": 273
  },
  "luminance": 0.03438
}

Semantic roles & 50–950 ramp

primary
#231D96
secondary
#BAC04F
accent
#EA3DE2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231D96

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

Preview Lab → · Contrast checker → · Palette generator →

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