#231D81#231D81

#231D81 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.159 H 275.2°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#231D81
RGBrgb(35, 29, 129)
HSLhsl(244, 63%, 31%)
HSVhsv(244, 78%, 51%)
CMYKcmyk(72.9%, 77.5%, 0%, 49.4%)
CIE-LABlab(19.31, 36.31, -54.75)
CIE-LCHlch(19.31, 65.69, 303.55°)
OKLaboklab(32.01% 0.0145 -0.1583)
OKLCHoklch(32.01% 0.159 275.2)
XYZxyz(5.0936, 2.8205, 21.0406)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D81 #7B811D
analogous
#1D4981 #231D81 #551D81
triadic
#231D81 #81231D #1D8123
tetradic
#231D81 #811D49 #7B811D #1D8155
square
#231D81 #811D49 #7B811D #1D8155
split-complementary
#231D81 #81551D #49811D
monochromatic
#08071D #15124F #231D81 #3128B3 #4C44D5

Accessibility & contrast

On white

13.43
#231D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#231D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D81
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D81#FFFFFF#000000##FFFFFF
##231D811.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003384
Deuteranopia (green-blind)
#002A7F
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #231d81;
/* rgb */ color: rgb(35, 29, 129);
/* oklch */ color: oklch(32.0% 0.159 275.2);
Tailwind
colors: {
  custom: {
    50: '#6e5ba7',
    500: '#231d81',
    950: '#000000',
  },
}
SCSS
$custom: #231d81;
$custom-light: #6e5ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#231d81",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 129
  },
  "hsl": {
    "h": 243.6,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32008,
    "c": 0.15896,
    "h": 275.2
  },
  "luminance": 0.02821
}

Semantic roles & 50–950 ramp

primary
#231D81
secondary
#AEB446
accent
#E641DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #231D81

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

Preview Lab → · Contrast checker → · Palette generator →

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