#231D9C#231D9C

#231D9C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.1% C 0.192 H 272.4°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#231D9C
RGBrgb(35, 29, 156)
HSLhsl(243, 69%, 36%)
HSVhsv(243, 81%, 61%)
CMYKcmyk(77.6%, 81.4%, 0%, 38.8%)
CIE-LABlab(22.43, 45.25, -66.40)
CIE-LCHlch(22.43, 80.35, 304.27°)
OKLaboklab(35.11% 0.0082 -0.1921)
OKLCHoklch(35.11% 0.192 272.4)
XYZxyz(7.1312, 3.6356, 31.7719)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D9C #969C1D
analogous
#1D579C #231D9C #631D9C
triadic
#231D9C #9C231D #1D9C23
tetradic
#231D9C #9C1D57 #969C1D #1D9C63
square
#231D9C #9C1D57 #969C1D #1D9C63
split-complementary
#231D9C #9C631D #579C1D
monochromatic
#0C0A35 #171368 #231D9C #2F27D0 #5B54DF

Accessibility & contrast

On white

12.16
#231D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#231D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D9C
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D9C#FFFFFF#000000##FFFFFF
##231D9C1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9F
Deuteranopia (green-blind)
#002F9A
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #231d9c;
/* rgb */ color: rgb(35, 29, 156);
/* oklch */ color: oklch(35.1% 0.192 272.4);
Tailwind
colors: {
  custom: {
    50: '#745cbb',
    500: '#231d9c',
    950: '#000000',
  },
}
SCSS
$custom: #231d9c;
$custom-light: #745cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#231d9c",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 156
  },
  "hsl": {
    "h": 242.835,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35108,
    "c": 0.19231,
    "h": 272.4
  },
  "luminance": 0.03636
}

Semantic roles & 50–950 ramp

primary
#231D9C
secondary
#BDC252
accent
#EB3CE3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #231D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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