#231D86#231D86

#231D86 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.165 H 274.6°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#231D86
RGBrgb(35, 29, 134)
HSLhsl(243, 64%, 32%)
HSVhsv(243, 78%, 53%)
CMYKcmyk(73.9%, 78.4%, 0%, 47.5%)
CIE-LABlab(19.87, 38.01, -56.98)
CIE-LCHlch(19.87, 68.49, 303.71°)
OKLaboklab(32.57% 0.0134 -0.1648)
OKLCHoklch(32.57% 0.165 274.6)
XYZxyz(5.4342, 2.9568, 22.8340)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D86 #80861D
analogous
#1D4B86 #231D86 #581D86
triadic
#231D86 #86231D #1D8623
tetradic
#231D86 #861D4B #80861D #1D8658
square
#231D86 #861D4B #80861D #1D8658
split-complementary
#231D86 #86581D #4B861D
monochromatic
#090721 #161254 #231D86 #3028B8 #4F46D7

Accessibility & contrast

On white

13.20
#231D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#231D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D86
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D86#FFFFFF#000000##FFFFFF
##231D861.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#002B84
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #231d86;
/* rgb */ color: rgb(35, 29, 134);
/* oklch */ color: oklch(32.6% 0.165 274.6);
Tailwind
colors: {
  custom: {
    50: '#6f5baa',
    500: '#231d86',
    950: '#000000',
  },
}
SCSS
$custom: #231d86;
$custom-light: #6f5baa;
$custom-dark: #000000;
JSON
{
  "hex": "#231d86",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 243.429,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32569,
    "c": 0.16533,
    "h": 274.6
  },
  "luminance": 0.02957
}

Semantic roles & 50–950 ramp

primary
#231D86
secondary
#B2B946
accent
#E740DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #231D86

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

Preview Lab → · Contrast checker → · Palette generator →

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