#231B9F#231B9F

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

Color values

HEX#231B9F
RGBrgb(35, 27, 159)
HSLhsl(244, 71%, 36%)
HSVhsv(244, 83%, 62%)
CMYKcmyk(78%, 83%, 0%, 37.6%)
CIE-LABlab(22.46, 47.17, -68.19)
CIE-LCHlch(22.46, 82.92, 304.68°)
OKLaboklab(35.23% 0.008 -0.1973)
OKLCHoklch(35.23% 0.197 272.3)
XYZxyz(7.3410, 3.6436, 33.1106)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B9F #979F1B
analogous
#1B559F #231B9F #651B9F
triadic
#231B9F #9F231B #1B9F23
tetradic
#231B9F #9F1B55 #979F1B #1B9F65
square
#231B9F #9F1B55 #979F1B #1B9F65
split-complementary
#231B9F #9F651B #559F1B
monochromatic
#0C0936 #17126B #231B9F #2F24D3 #5B53E2

Accessibility & contrast

On white

12.15
#231B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231B9F
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B9F#FFFFFF#000000##FFFFFF
##231B9F1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231b9f;
/* rgb */ color: rgb(35, 27, 159);
/* oklch */ color: oklch(35.2% 0.197 272.3);
Tailwind
colors: {
  custom: {
    50: '#755cbd',
    500: '#231b9f',
    950: '#000000',
  },
}
SCSS
$custom: #231b9f;
$custom-light: #755cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#231b9f",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 159
  },
  "hsl": {
    "h": 243.636,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35232,
    "c": 0.19745,
    "h": 272.3
  },
  "luminance": 0.03644
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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