#231C87#231C87

#231C87 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.168 H 274.7°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#231C87
RGBrgb(35, 28, 135)
HSLhsl(244, 66%, 32%)
HSVhsv(244, 79%, 53%)
CMYKcmyk(74.1%, 79.3%, 0%, 47.1%)
CIE-LABlab(19.79, 38.90, -57.74)
CIE-LCHlch(19.79, 69.62, 303.97°)
OKLaboklab(32.55% 0.0136 -0.167)
OKLCHoklch(32.55% 0.168 274.7)
XYZxyz(5.4801, 2.9366, 23.1950)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C87 #80871C
analogous
#1C4B87 #231C87 #591C87
triadic
#231C87 #87231C #1C8723
tetradic
#231C87 #871C4B #80871C #1C8759
square
#231C87 #871C4B #80871C #1C8759
split-complementary
#231C87 #87591C #4B871C
monochromatic
#090722 #161154 #231C87 #3027BA #4F45D8

Accessibility & contrast

On white

13.23
#231C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#231C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C87
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C87#FFFFFF#000000##FFFFFF
##231C871.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358A
Deuteranopia (green-blind)
#002B85
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #231c87;
/* rgb */ color: rgb(35, 28, 135);
/* oklch */ color: oklch(32.5% 0.168 274.7);
Tailwind
colors: {
  custom: {
    50: '#6f5bab',
    500: '#231c87',
    950: '#000000',
  },
}
SCSS
$custom: #231c87;
$custom-light: #6f5bab;
$custom-dark: #000000;
JSON
{
  "hex": "#231c87",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 243.925,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32545,
    "c": 0.16755,
    "h": 274.7
  },
  "luminance": 0.02937
}

Semantic roles & 50–950 ramp

primary
#231C87
secondary
#B2BA45
accent
#E93FDE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #231C87

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

Preview Lab → · Contrast checker → · Palette generator →

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