#231C86#231C86

#231C86 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.166 H 274.8°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#231C86
RGBrgb(35, 28, 134)
HSLhsl(244, 65%, 32%)
HSVhsv(244, 79%, 53%)
CMYKcmyk(73.9%, 79.1%, 0%, 47.5%)
CIE-LABlab(19.67, 38.57, -57.30)
CIE-LCHlch(19.67, 69.07, 303.94°)
OKLaboklab(32.43% 0.0139 -0.1657)
OKLCHoklch(32.43% 0.166 274.8)
XYZxyz(5.4100, 2.9085, 22.8259)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C86 #7F861C
analogous
#1C4A86 #231C86 #581C86
triadic
#231C86 #86231C #1C8623
tetradic
#231C86 #861C4A #7F861C #1C8658
square
#231C86 #861C4A #7F861C #1C8658
split-complementary
#231C86 #86581C #4A861C
monochromatic
#090721 #161153 #231C86 #3027B9 #4E44D8

Accessibility & contrast

On white

13.28
#231C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#231C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C86
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C86#FFFFFF#000000##FFFFFF
##231C861.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003489
Deuteranopia (green-blind)
#002B84
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #231c86;
/* rgb */ color: rgb(35, 28, 134);
/* oklch */ color: oklch(32.4% 0.166 274.8);
Tailwind
colors: {
  custom: {
    50: '#6f5aaa',
    500: '#231c86',
    950: '#000000',
  },
}
SCSS
$custom: #231c86;
$custom-light: #6f5aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#231c86",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 243.962,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32431,
    "c": 0.1663,
    "h": 274.8
  },
  "luminance": 0.02909
}

Semantic roles & 50–950 ramp

primary
#231C86
secondary
#B1B945
accent
#E83FDD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #231C86

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

Preview Lab → · Contrast checker → · Palette generator →

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