#231B9E#231B9E

#231B9E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.1% C 0.196 H 272.4°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#231B9E
RGBrgb(35, 27, 158)
HSLhsl(244, 71%, 36%)
HSVhsv(244, 83%, 62%)
CMYKcmyk(77.8%, 82.9%, 0%, 38%)
CIE-LABlab(22.33, 46.86, -67.78)
CIE-LCHlch(22.33, 82.40, 304.66°)
OKLaboklab(35.11% 0.0083 -0.1961)
OKLCHoklch(35.11% 0.196 272.4)
XYZxyz(7.2546, 3.6090, 32.6554)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B9E #969E1B
analogous
#1B559E #231B9E #651B9E
triadic
#231B9E #9E231B #1B9E23
tetradic
#231B9E #9E1B55 #969E1B #1B9E65
square
#231B9E #9E1B55 #969E1B #1B9E65
split-complementary
#231B9E #9E651B #559E1B
monochromatic
#0C0935 #17126A #231B9E #2F24D2 #5B52E1

Accessibility & contrast

On white

12.20
#231B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#231B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B9E
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B9E#FFFFFF#000000##FFFFFF
##231B9E1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231b9e;
/* rgb */ color: rgb(35, 27, 158);
/* oklch */ color: oklch(35.1% 0.196 272.4);
Tailwind
colors: {
  custom: {
    50: '#755cbc',
    500: '#231b9e',
    950: '#000000',
  },
}
SCSS
$custom: #231b9e;
$custom-light: #755cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#231b9e",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 243.664,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35113,
    "c": 0.19628,
    "h": 272.4
  },
  "luminance": 0.0361
}

Semantic roles & 50–950 ramp

primary
#231B9E
secondary
#BDC451
accent
#EE3AE3
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #231B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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