#231D8C#231D8C

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

Color values

HEX#231D8C
RGBrgb(35, 29, 140)
HSLhsl(243, 66%, 33%)
HSVhsv(243, 79%, 55%)
CMYKcmyk(75%, 79.3%, 0%, 45.1%)
CIE-LABlab(20.55, 40.02, -59.61)
CIE-LCHlch(20.55, 71.80, 303.88°)
OKLaboklab(33.25% 0.012 -0.1724)
OKLCHoklch(33.25% 0.173 274)
XYZxyz(5.8646, 3.1289, 25.1007)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D8C #868C1D
analogous
#1D4E8C #231D8C #5A1D8C
triadic
#231D8C #8C231D #1D8C23
tetradic
#231D8C #8C1D4E #868C1D #1D8C5A
square
#231D8C #8C1D4E #868C1D #1D8C5A
split-complementary
#231D8C #8C5A1D #4E8C1D
monochromatic
#0A0827 #161259 #231D8C #3028BF #524AD9

Accessibility & contrast

On white

12.92
#231D8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231D8C
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D8C#FFFFFF#000000##FFFFFF
##231D8C1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378F
Deuteranopia (green-blind)
#002C8A
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #231d8c;
/* rgb */ color: rgb(35, 29, 140);
/* oklch */ color: oklch(33.3% 0.173 274.0);
Tailwind
colors: {
  custom: {
    50: '#705baf',
    500: '#231d8c',
    950: '#000000',
  },
}
SCSS
$custom: #231d8c;
$custom-light: #705baf;
$custom-dark: #000000;
JSON
{
  "hex": "#231d8c",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 140
  },
  "hsl": {
    "h": 243.243,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3325,
    "c": 0.17285,
    "h": 274
  },
  "luminance": 0.0313
}

Semantic roles & 50–950 ramp

primary
#231D8C
secondary
#B5BC49
accent
#E93FDF
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #231D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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