#231B9A#231B9A

#231B9A is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.6% C 0.192 H 272.8°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#231B9A
RGBrgb(35, 27, 154)
HSLhsl(244, 70%, 35%)
HSVhsv(244, 82%, 60%)
CMYKcmyk(77.3%, 82.5%, 0%, 39.6%)
CIE-LABlab(21.85, 45.60, -66.13)
CIE-LCHlch(21.85, 80.33, 304.59°)
OKLaboklab(34.64% 0.0093 -0.1913)
OKLCHoklch(34.64% 0.192 272.8)
XYZxyz(6.9159, 3.4735, 30.8716)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B9A #929A1B
analogous
#1B529A #231B9A #631B9A
triadic
#231B9A #9A231B #1B9A23
tetradic
#231B9A #9A1B52 #929A1B #1B9A63
square
#231B9A #9A1B52 #929A1B #1B9A63
split-complementary
#231B9A #9A631B #529A1B
monochromatic
#0B0932 #171266 #231B9A #2F24CE #584FE0

Accessibility & contrast

On white

12.39
#231B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#231B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B9A
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B9A#FFFFFF#000000##FFFFFF
##231B9A1.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9D
Deuteranopia (green-blind)
#002E98
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #231b9a;
/* rgb */ color: rgb(35, 27, 154);
/* oklch */ color: oklch(34.6% 0.192 272.8);
Tailwind
colors: {
  custom: {
    50: '#745bb9',
    500: '#231b9a',
    950: '#000000',
  },
}
SCSS
$custom: #231b9a;
$custom-light: #745bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#231b9a",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 154
  },
  "hsl": {
    "h": 243.78,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34636,
    "c": 0.19157,
    "h": 272.8
  },
  "luminance": 0.03474
}

Semantic roles & 50–950 ramp

primary
#231B9A
secondary
#BBC34E
accent
#ED3BE2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #231B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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