#231C88#231C88

#231C88 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.169 H 274.5°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#231C88
RGBrgb(35, 28, 136)
HSLhsl(244, 66%, 32%)
HSVhsv(244, 79%, 53%)
CMYKcmyk(74.3%, 79.4%, 0%, 46.7%)
CIE-LABlab(19.90, 39.24, -58.18)
CIE-LCHlch(19.90, 70.18, 303.99°)
OKLaboklab(32.66% 0.0134 -0.1683)
OKLCHoklch(32.66% 0.169 274.5)
XYZxyz(5.5509, 2.9649, 23.5675)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C88 #81881C
analogous
#1C4B88 #231C88 #591C88
triadic
#231C88 #88231C #1C8823
tetradic
#231C88 #881C4B #81881C #1C8859
square
#231C88 #881C4B #81881C #1C8859
split-complementary
#231C88 #88591C #4B881C
monochromatic
#090722 #161255 #231C88 #3026BB #4F46D9

Accessibility & contrast

On white

13.18
#231C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231C88
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C88#FFFFFF#000000##FFFFFF
##231C881.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231c88;
/* rgb */ color: rgb(35, 28, 136);
/* oklch */ color: oklch(32.7% 0.169 274.5);
Tailwind
colors: {
  custom: {
    50: '#6f5bac',
    500: '#231c88',
    950: '#000000',
  },
}
SCSS
$custom: #231c88;
$custom-light: #6f5bac;
$custom-dark: #000000;
JSON
{
  "hex": "#231c88",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 136
  },
  "hsl": {
    "h": 243.889,
    "s": 65.854,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32659,
    "c": 0.16881,
    "h": 274.5
  },
  "luminance": 0.02965
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231C88

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

Preview Lab → · Contrast checker → · Palette generator →

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