#231D8A#231D8A

#231D8A is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.170 H 274.2°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#231D8A
RGBrgb(35, 29, 138)
HSLhsl(243, 65%, 33%)
HSVhsv(243, 79%, 54%)
CMYKcmyk(74.6%, 79%, 0%, 45.9%)
CIE-LABlab(20.32, 39.35, -58.74)
CIE-LCHlch(20.32, 70.70, 303.82°)
OKLaboklab(33.02% 0.0124 -0.1699)
OKLCHoklch(33.02% 0.17 274.2)
XYZxyz(5.7184, 3.0705, 24.3311)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D8A #848A1D
analogous
#1D4D8A #231D8A #5A1D8A
triadic
#231D8A #8A231D #1D8A23
tetradic
#231D8A #8A1D4D #848A1D #1D8A5A
square
#231D8A #8A1D4D #848A1D #1D8A5A
split-complementary
#231D8A #8A5A1D #4D8A1D
monochromatic
#090825 #161257 #231D8A #3028BD #5149D9

Accessibility & contrast

On white

13.01
#231D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#231D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D8A
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D8A#FFFFFF#000000##FFFFFF
##231D8A1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368D
Deuteranopia (green-blind)
#002C88
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #231d8a;
/* rgb */ color: rgb(35, 29, 138);
/* oklch */ color: oklch(33.0% 0.170 274.2);
Tailwind
colors: {
  custom: {
    50: '#705bad',
    500: '#231d8a',
    950: '#000000',
  },
}
SCSS
$custom: #231d8a;
$custom-light: #705bad;
$custom-dark: #000000;
JSON
{
  "hex": "#231d8a",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 243.303,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33022,
    "c": 0.17036,
    "h": 274.2
  },
  "luminance": 0.03071
}

Semantic roles & 50–950 ramp

primary
#231D8A
secondary
#B4BB48
accent
#E840DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #231D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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