#231C9A#231C9A

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

Color values

HEX#231C9A
RGBrgb(35, 28, 154)
HSLhsl(243, 69%, 36%)
HSVhsv(243, 82%, 60%)
CMYKcmyk(77.3%, 81.8%, 0%, 39.6%)
CIE-LABlab(22.02, 45.11, -65.85)
CIE-LCHlch(22.02, 79.82, 304.41°)
OKLaboklab(34.75% 0.009 -0.1905)
OKLCHoklch(34.75% 0.191 272.7)
XYZxyz(6.9392, 3.5202, 30.8793)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C9A #939A1C
analogous
#1C549A #231C9A #621C9A
triadic
#231C9A #9A231C #1C9A23
tetradic
#231C9A #9A1C54 #939A1C #1C9A62
square
#231C9A #9A1C54 #939A1C #1C9A62
split-complementary
#231C9A #9A621C #549A1C
monochromatic
#0B0932 #171366 #231C9A #2F25CE #5951DF

Accessibility & contrast

On white

12.32
#231C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231C9A
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C9A#FFFFFF#000000##FFFFFF
##231C9A1.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9D
Deuteranopia (green-blind)
#002E98
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #231c9a;
/* rgb */ color: rgb(35, 28, 154);
/* oklch */ color: oklch(34.8% 0.191 272.7);
Tailwind
colors: {
  custom: {
    50: '#745cb9',
    500: '#231c9a',
    950: '#000000',
  },
}
SCSS
$custom: #231c9a;
$custom-light: #745cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#231c9a",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 154
  },
  "hsl": {
    "h": 243.333,
    "s": 69.231,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34753,
    "c": 0.19076,
    "h": 272.7
  },
  "luminance": 0.03521
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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