#231C96#231C96

#231C96 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.3% C 0.186 H 273.1°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#231C96
RGBrgb(35, 28, 150)
HSLhsl(243, 69%, 35%)
HSVhsv(243, 81%, 59%)
CMYKcmyk(76.7%, 81.3%, 0%, 41.2%)
CIE-LABlab(21.54, 43.83, -64.18)
CIE-LCHlch(21.54, 77.72, 304.33°)
OKLaboklab(34.28% 0.01 -0.1857)
OKLCHoklch(34.28% 0.186 273.1)
XYZxyz(6.6116, 3.3891, 29.1540)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C96 #8F961C
analogous
#1C5296 #231C96 #601C96
triadic
#231C96 #96231C #1C9623
tetradic
#231C96 #961C52 #8F961C #1C9660
square
#231C96 #961C52 #8F961C #1C9660
split-complementary
#231C96 #96601C #52961C
monochromatic
#0B092F #171262 #231C96 #2F26CA #574EDE

Accessibility & contrast

On white

12.51
#231C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#231C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C96
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C96#FFFFFF#000000##FFFFFF
##231C961.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003999
Deuteranopia (green-blind)
#002E94
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #231c96;
/* rgb */ color: rgb(35, 28, 150);
/* oklch */ color: oklch(34.3% 0.186 273.1);
Tailwind
colors: {
  custom: {
    50: '#735cb6',
    500: '#231c96',
    950: '#000000',
  },
}
SCSS
$custom: #231c96;
$custom-light: #735cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#231c96",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 243.443,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34282,
    "c": 0.18597,
    "h": 273.1
  },
  "luminance": 0.0339
}

Semantic roles & 50–950 ramp

primary
#231C96
secondary
#BAC14D
accent
#EB3CE1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #231C96

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

Preview Lab → · Contrast checker → · Palette generator →

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