#231D99#231D99

#231D99 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.8% C 0.189 H 272.7°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#231D99
RGBrgb(35, 29, 153)
HSLhsl(243, 68%, 36%)
HSVhsv(243, 81%, 60%)
CMYKcmyk(77.1%, 81%, 0%, 40%)
CIE-LABlab(22.07, 44.28, -65.15)
CIE-LCHlch(22.07, 78.77, 304.20°)
OKLaboklab(34.76% 0.0089 -0.1885)
OKLCHoklch(34.76% 0.189 272.7)
XYZxyz(6.8803, 3.5352, 30.4506)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D99 #93991D
analogous
#1D5599 #231D99 #611D99
triadic
#231D99 #99231D #1D9923
tetradic
#231D99 #991D55 #93991D #1D9961
square
#231D99 #991D55 #93991D #1D9961
split-complementary
#231D99 #99611D #55991D
monochromatic
#0B0932 #171366 #231D99 #2F27CC #5952DE

Accessibility & contrast

On white

12.30
#231D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231D99
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D99#FFFFFF#000000##FFFFFF
##231D991.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231d99;
/* rgb */ color: rgb(35, 29, 153);
/* oklch */ color: oklch(34.8% 0.189 272.7);
Tailwind
colors: {
  custom: {
    50: '#745cb8',
    500: '#231d99',
    950: '#000000',
  },
}
SCSS
$custom: #231d99;
$custom-light: #745cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#231d99",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 153
  },
  "hsl": {
    "h": 242.903,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34756,
    "c": 0.18873,
    "h": 272.7
  },
  "luminance": 0.03536
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231D99

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

Preview Lab → · Contrast checker → · Palette generator →

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