#231B96#231B96

#231B96 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.2% C 0.187 H 273.2°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#231B96
RGBrgb(35, 27, 150)
HSLhsl(244, 69%, 35%)
HSVhsv(244, 82%, 59%)
CMYKcmyk(76.7%, 82%, 0%, 41.2%)
CIE-LABlab(21.37, 44.33, -64.47)
CIE-LCHlch(21.37, 78.24, 304.51°)
OKLaboklab(34.16% 0.0103 -0.1865)
OKLCHoklch(34.16% 0.187 273.2)
XYZxyz(6.5883, 3.3425, 29.1462)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B96 #8E961B
analogous
#1B5196 #231B96 #601B96
triadic
#231B96 #96231B #1B9623
tetradic
#231B96 #961B51 #8E961B #1B9660
square
#231B96 #961B51 #8E961B #1B9660
split-complementary
#231B96 #96601B #51961B
monochromatic
#0B082E #171262 #231B96 #2F24CA #564DDF

Accessibility & contrast

On white

12.59
#231B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#231B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B96
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B96#FFFFFF#000000##FFFFFF
##231B961.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231b96;
/* rgb */ color: rgb(35, 27, 150);
/* oklch */ color: oklch(34.2% 0.187 273.2);
Tailwind
colors: {
  custom: {
    50: '#735bb6',
    500: '#231b96',
    950: '#000000',
  },
}
SCSS
$custom: #231b96;
$custom-light: #735bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#231b96",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 150
  },
  "hsl": {
    "h": 243.902,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34161,
    "c": 0.1868,
    "h": 273.2
  },
  "luminance": 0.03343
}

Semantic roles & 50–950 ramp

primary
#231B96
secondary
#B9C14C
accent
#EC3BE1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #231B96

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

Preview Lab → · Contrast checker → · Palette generator →

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