#231C8F#231C8F

#231C8F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.177 H 273.8°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#231C8F
RGBrgb(35, 28, 143)
HSLhsl(244, 67%, 34%)
HSVhsv(244, 80%, 56%)
CMYKcmyk(75.5%, 80.4%, 0%, 43.9%)
CIE-LABlab(20.71, 41.55, -61.21)
CIE-LCHlch(20.71, 73.98, 304.17°)
OKLaboklab(33.47% 0.0117 -0.1771)
OKLCHoklch(33.47% 0.177 273.8)
XYZxyz(6.0647, 3.1704, 26.2736)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C8F #888F1C
analogous
#1C4E8F #231C8F #5C1C8F
triadic
#231C8F #8F231C #1C8F23
tetradic
#231C8F #8F1C4E #888F1C #1C8F5C
square
#231C8F #8F1C4E #888F1C #1C8F5C
split-complementary
#231C8F #8F5C1C #4E8F1C
monochromatic
#0A0829 #16125C #231C8F #3026C2 #534ADC

Accessibility & contrast

On white

12.85
#231C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#231C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C8F
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C8F#FFFFFF#000000##FFFFFF
##231C8F1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003792
Deuteranopia (green-blind)
#002C8D
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #231c8f;
/* rgb */ color: rgb(35, 28, 143);
/* oklch */ color: oklch(33.5% 0.177 273.8);
Tailwind
colors: {
  custom: {
    50: '#715bb1',
    500: '#231c8f',
    950: '#000000',
  },
}
SCSS
$custom: #231c8f;
$custom-light: #715bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#231c8f",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 243.652,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33465,
    "c": 0.17747,
    "h": 273.8
  },
  "luminance": 0.03171
}

Semantic roles & 50–950 ramp

primary
#231C8F
secondary
#B7BE49
accent
#EA3EE0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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