#231C9E#231C9E

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

Color values

HEX#231C9E
RGBrgb(35, 28, 158)
HSLhsl(243, 70%, 36%)
HSVhsv(243, 82%, 62%)
CMYKcmyk(77.8%, 82.3%, 0%, 38%)
CIE-LABlab(22.50, 46.38, -67.51)
CIE-LCHlch(22.50, 81.90, 304.49°)
OKLaboklab(35.23% 0.008 -0.1953)
OKLCHoklch(35.23% 0.195 272.3)
XYZxyz(7.2779, 3.6557, 32.6632)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C9E #979E1C
analogous
#1C569E #231C9E #641C9E
triadic
#231C9E #9E231C #1C9E23
tetradic
#231C9E #9E1C56 #979E1C #1C9E64
square
#231C9E #9E1C56 #979E1C #1C9E64
split-complementary
#231C9E #9E641C #569E1C
monochromatic
#0C0A36 #17136A #231C9E #2F25D2 #5B54E1

Accessibility & contrast

On white

12.13
#231C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231C9E
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C9E#FFFFFF#000000##FFFFFF
##231C9E1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231c9e;
/* rgb */ color: rgb(35, 28, 158);
/* oklch */ color: oklch(35.2% 0.195 272.3);
Tailwind
colors: {
  custom: {
    50: '#755cbc',
    500: '#231c9e',
    950: '#000000',
  },
}
SCSS
$custom: #231c9e;
$custom-light: #755cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#231c9e",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 158
  },
  "hsl": {
    "h": 243.231,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35227,
    "c": 0.19549,
    "h": 272.3
  },
  "luminance": 0.03656
}

Semantic roles & 50–950 ramp

primary
#231C9E
secondary
#BEC452
accent
#ED3BE3
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #231C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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