#231C8D#231C8D

#231C8D is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.175 H 274.0°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#231C8D
RGBrgb(35, 28, 141)
HSLhsl(244, 67%, 33%)
HSVhsv(244, 80%, 55%)
CMYKcmyk(75.2%, 80.1%, 0%, 44.7%)
CIE-LABlab(20.48, 40.89, -60.35)
CIE-LCHlch(20.48, 72.90, 304.12°)
OKLaboklab(33.23% 0.0122 -0.1746)
OKLCHoklch(33.23% 0.175 274)
XYZxyz(5.9145, 3.1103, 25.4828)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C8D #868D1C
analogous
#1C4D8D #231C8D #5B1C8D
triadic
#231C8D #8D231C #1C8D23
tetradic
#231C8D #8D1C4D #868D1C #1C8D5B
square
#231C8D #8D1C4D #868D1C #1C8D5B
split-complementary
#231C8D #8D5B1C #4D8D1C
monochromatic
#0A0827 #16125A #231C8D #3026C0 #5249DB

Accessibility & contrast

On white

12.95
#231C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#231C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C8D
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C8D#FFFFFF#000000##FFFFFF
##231C8D1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003690
Deuteranopia (green-blind)
#002C8B
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #231c8d;
/* rgb */ color: rgb(35, 28, 141);
/* oklch */ color: oklch(33.2% 0.175 274.0);
Tailwind
colors: {
  custom: {
    50: '#715bb0',
    500: '#231c8d',
    950: '#000000',
  },
}
SCSS
$custom: #231c8d;
$custom-light: #715bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#231c8d",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 243.717,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33234,
    "c": 0.17501,
    "h": 274
  },
  "luminance": 0.03111
}

Semantic roles & 50–950 ramp

primary
#231C8D
secondary
#B5BD48
accent
#EA3EDF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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