#231D9E#231D9E

#231D9E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.3% C 0.195 H 272.3°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#231D9E
RGBrgb(35, 29, 158)
HSLhsl(243, 69%, 37%)
HSVhsv(243, 82%, 62%)
CMYKcmyk(77.8%, 81.6%, 0%, 38%)
CIE-LABlab(22.67, 45.89, -67.23)
CIE-LCHlch(22.67, 81.39, 304.31°)
OKLaboklab(35.34% 0.0077 -0.1945)
OKLCHoklch(35.34% 0.195 272.3)
XYZxyz(7.3020, 3.7039, 32.6712)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D9E #989E1D
analogous
#1D589E #231D9E #641D9E
triadic
#231D9E #9E231D #1D9E23
tetradic
#231D9E #9E1D58 #989E1D #1D9E64
square
#231D9E #9E1D58 #989E1D #1D9E64
split-complementary
#231D9E #9E641D #589E1D
monochromatic
#0C0A37 #18146A #231D9E #2E26D2 #5C56E0

Accessibility & contrast

On white

12.06
#231D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#231D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D9E
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D9E#FFFFFF#000000##FFFFFF
##231D9E1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA2
Deuteranopia (green-blind)
#00309C
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #231d9e;
/* rgb */ color: rgb(35, 29, 158);
/* oklch */ color: oklch(35.3% 0.195 272.3);
Tailwind
colors: {
  custom: {
    50: '#755dbc',
    500: '#231d9e',
    950: '#000000',
  },
}
SCSS
$custom: #231d9e;
$custom-light: #755dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#231d9e",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 242.791,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35344,
    "c": 0.19469,
    "h": 272.3
  },
  "luminance": 0.03705
}

Semantic roles & 50–950 ramp

primary
#231D9E
secondary
#BEC354
accent
#EC3CE4
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #231D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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