#231D82#231D82

#231D82 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.160 H 275.1°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#231D82
RGBrgb(35, 29, 130)
HSLhsl(244, 64%, 31%)
HSVhsv(244, 78%, 51%)
CMYKcmyk(73.1%, 77.7%, 0%, 49%)
CIE-LABlab(19.42, 36.65, -55.20)
CIE-LCHlch(19.42, 66.26, 303.58°)
OKLaboklab(32.12% 0.0143 -0.1596)
OKLCHoklch(32.12% 0.16 275.1)
XYZxyz(5.1604, 2.8473, 21.3924)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D82 #7C821D
analogous
#1D4982 #231D82 #551D82
triadic
#231D82 #82231D #1D8223
tetradic
#231D82 #821D49 #7C821D #1D8255
square
#231D82 #821D49 #7C821D #1D8255
split-complementary
#231D82 #82551D #49821D
monochromatic
#08071E #161250 #231D82 #3028B4 #4D44D5

Accessibility & contrast

On white

13.38
#231D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#231D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D82
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D82#FFFFFF#000000##FFFFFF
##231D821.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003485
Deuteranopia (green-blind)
#002A80
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #231d82;
/* rgb */ color: rgb(35, 29, 130);
/* oklch */ color: oklch(32.1% 0.160 275.1);
Tailwind
colors: {
  custom: {
    50: '#6e5ba7',
    500: '#231d82',
    950: '#000000',
  },
}
SCSS
$custom: #231d82;
$custom-light: #6e5ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#231d82",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 243.564,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3212,
    "c": 0.16025,
    "h": 275.1
  },
  "luminance": 0.02848
}

Semantic roles & 50–950 ramp

primary
#231D82
secondary
#AFB546
accent
#E741DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #231D82

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

Preview Lab → · Contrast checker → · Palette generator →

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