#231D8E#231D8E

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

Color values

HEX#231D8E
RGBrgb(35, 29, 142)
HSLhsl(243, 66%, 34%)
HSVhsv(243, 80%, 56%)
CMYKcmyk(75.4%, 79.6%, 0%, 44.3%)
CIE-LABlab(20.78, 40.69, -60.48)
CIE-LCHlch(20.78, 72.89, 303.93°)
OKLaboklab(33.48% 0.0115 -0.175)
OKLCHoklch(33.48% 0.175 273.8)
XYZxyz(6.0134, 3.1884, 25.8845)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D8E #888E1D
analogous
#1D4F8E #231D8E #5B1D8E
triadic
#231D8E #8E231D #1D8E23
tetradic
#231D8E #8E1D4F #888E1D #1D8E5B
square
#231D8E #8E1D4F #888E1D #1D8E5B
split-complementary
#231D8E #8E5B1D #4F8E1D
monochromatic
#0A0828 #16135B #231D8E #3027C1 #534BDA

Accessibility & contrast

On white

12.82
#231D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#231D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D8E
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D8E#FFFFFF#000000##FFFFFF
##231D8E1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231d8e;
/* rgb */ color: rgb(35, 29, 142);
/* oklch */ color: oklch(33.5% 0.175 273.8);
Tailwind
colors: {
  custom: {
    50: '#715cb0',
    500: '#231d8e',
    950: '#000000',
  },
}
SCSS
$custom: #231d8e;
$custom-light: #715cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#231d8e",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 243.186,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3348,
    "c": 0.17534,
    "h": 273.8
  },
  "luminance": 0.03189
}

Semantic roles & 50–950 ramp

primary
#231D8E
secondary
#B7BD4A
accent
#E93FE0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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