#231D9A#231D9A

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

Color values

HEX#231D9A
RGBrgb(35, 29, 154)
HSLhsl(243, 68%, 36%)
HSVhsv(243, 81%, 60%)
CMYKcmyk(77.3%, 81.2%, 0%, 39.6%)
CIE-LABlab(22.19, 44.60, -65.57)
CIE-LCHlch(22.19, 79.30, 304.23°)
OKLaboklab(34.87% 0.0087 -0.1897)
OKLCHoklch(34.87% 0.19 272.6)
XYZxyz(6.9633, 3.5684, 30.8874)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D9A #949A1D
analogous
#1D559A #231D9A #611D9A
triadic
#231D9A #9A231D #1D9A23
tetradic
#231D9A #9A1D55 #949A1D #1D9A61
square
#231D9A #9A1D55 #949A1D #1D9A61
split-complementary
#231D9A #9A611D #559A1D
monochromatic
#0C0A33 #171366 #231D9A #2F27CE #5A53DF

Accessibility & contrast

On white

12.25
#231D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#231D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D9A
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D9A#FFFFFF#000000##FFFFFF
##231D9A1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231d9a;
/* rgb */ color: rgb(35, 29, 154);
/* oklch */ color: oklch(34.9% 0.190 272.6);
Tailwind
colors: {
  custom: {
    50: '#745cb9',
    500: '#231d9a',
    950: '#000000',
  },
}
SCSS
$custom: #231d9a;
$custom-light: #745cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#231d9a",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 154
  },
  "hsl": {
    "h": 242.88,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34873,
    "c": 0.18993,
    "h": 272.6
  },
  "luminance": 0.03569
}

Semantic roles & 50–950 ramp

primary
#231D9A
secondary
#BCC251
accent
#EB3DE3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #231D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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