#231D83#231D83

#231D83 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.162 H 275.0°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#231D83
RGBrgb(35, 29, 131)
HSLhsl(244, 64%, 31%)
HSVhsv(244, 78%, 51%)
CMYKcmyk(73.3%, 77.9%, 0%, 48.6%)
CIE-LABlab(19.53, 36.99, -55.65)
CIE-LCHlch(19.53, 66.82, 303.62°)
OKLaboklab(32.23% 0.0141 -0.1609)
OKLCHoklch(32.23% 0.162 275)
XYZxyz(5.2279, 2.8742, 21.7476)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D83 #7D831D
analogous
#1D4A83 #231D83 #561D83
triadic
#231D83 #83231D #1D8323
tetradic
#231D83 #831D4A #7D831D #1D8356
square
#231D83 #831D4A #7D831D #1D8356
split-complementary
#231D83 #83561D #4A831D
monochromatic
#08071F #161251 #231D83 #3028B5 #4D45D6

Accessibility & contrast

On white

13.33
#231D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#231D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D83
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D83#FFFFFF#000000##FFFFFF
##231D831.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003486
Deuteranopia (green-blind)
#002B81
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #231d83;
/* rgb */ color: rgb(35, 29, 131);
/* oklch */ color: oklch(32.2% 0.162 275.0);
Tailwind
colors: {
  custom: {
    50: '#6e5ba8',
    500: '#231d83',
    950: '#000000',
  },
}
SCSS
$custom: #231d83;
$custom-light: #6e5ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#231d83",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 243.529,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32232,
    "c": 0.16152,
    "h": 275
  },
  "luminance": 0.02875
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231D83

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

Preview Lab → · Contrast checker → · Palette generator →

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