#231C99#231C99

#231C99 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.6% C 0.190 H 272.8°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#231C99
RGBrgb(35, 28, 153)
HSLhsl(243, 69%, 35%)
HSVhsv(243, 82%, 60%)
CMYKcmyk(77.1%, 81.7%, 0%, 40%)
CIE-LABlab(21.90, 44.79, -65.44)
CIE-LCHlch(21.90, 79.30, 304.39°)
OKLaboklab(34.64% 0.0092 -0.1893)
OKLCHoklch(34.64% 0.19 272.8)
XYZxyz(6.8562, 3.4870, 30.4425)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C99 #92991C
analogous
#1C5399 #231C99 #611C99
triadic
#231C99 #99231C #1C9923
tetradic
#231C99 #991C53 #92991C #1C9961
square
#231C99 #991C53 #92991C #1C9961
split-complementary
#231C99 #99611C #53991C
monochromatic
#0B0932 #171365 #231C99 #2F25CD #5850DF

Accessibility & contrast

On white

12.37
#231C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#231C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C99
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C99#FFFFFF#000000##FFFFFF
##231C991.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9C
Deuteranopia (green-blind)
#002E97
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #231c99;
/* rgb */ color: rgb(35, 28, 153);
/* oklch */ color: oklch(34.6% 0.190 272.8);
Tailwind
colors: {
  custom: {
    50: '#745cb8',
    500: '#231c99',
    950: '#000000',
  },
}
SCSS
$custom: #231c99;
$custom-light: #745cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#231c99",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 243.36,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34635,
    "c": 0.18956,
    "h": 272.8
  },
  "luminance": 0.03488
}

Semantic roles & 50–950 ramp

primary
#231C99
secondary
#BBC24F
accent
#EC3CE2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #231C99

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

Preview Lab → · Contrast checker → · Palette generator →

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