#231D9D#231D9D

#231D9D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.194 H 272.3°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#231D9D
RGBrgb(35, 29, 157)
HSLhsl(243, 69%, 36%)
HSVhsv(243, 82%, 62%)
CMYKcmyk(77.7%, 81.5%, 0%, 38.4%)
CIE-LABlab(22.55, 45.57, -66.81)
CIE-LCHlch(22.55, 80.87, 304.29°)
OKLaboklab(35.23% 0.0079 -0.1933)
OKLCHoklch(35.23% 0.194 272.3)
XYZxyz(7.2163, 3.6696, 32.2197)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D9D #979D1D
analogous
#1D579D #231D9D #631D9D
triadic
#231D9D #9D231D #1D9D23
tetradic
#231D9D #9D1D57 #979D1D #1D9D63
square
#231D9D #9D1D57 #979D1D #1D9D63
split-complementary
#231D9D #9D631D #579D1D
monochromatic
#0C0A36 #171369 #231D9D #2F27D1 #5B55E0

Accessibility & contrast

On white

12.11
#231D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231D9D
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D9D#FFFFFF#000000##FFFFFF
##231D9D1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA1
Deuteranopia (green-blind)
#002F9B
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #231d9d;
/* rgb */ color: rgb(35, 29, 157);
/* oklch */ color: oklch(35.2% 0.194 272.3);
Tailwind
colors: {
  custom: {
    50: '#755dbb',
    500: '#231d9d',
    950: '#000000',
  },
}
SCSS
$custom: #231d9d;
$custom-light: #755dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#231d9d",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 157
  },
  "hsl": {
    "h": 242.813,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35226,
    "c": 0.1935,
    "h": 272.3
  },
  "luminance": 0.0367
}

Semantic roles & 50–950 ramp

primary
#231D9D
secondary
#BEC353
accent
#EC3CE3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #231D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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