#231D90#231D90

#231D90 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.178 H 273.6°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#231D90
RGBrgb(35, 29, 144)
HSLhsl(243, 66%, 34%)
HSVhsv(243, 80%, 56%)
CMYKcmyk(75.7%, 79.9%, 0%, 43.5%)
CIE-LABlab(21.01, 41.35, -61.34)
CIE-LCHlch(21.01, 73.97, 303.98°)
OKLaboklab(33.71% 0.011 -0.1775)
OKLCHoklch(33.71% 0.178 273.6)
XYZxyz(6.1649, 3.2490, 26.6824)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D90 #8A901D
analogous
#1D5190 #231D90 #5D1D90
triadic
#231D90 #90231D #1D9023
tetradic
#231D90 #901D51 #8A901D #1D905D
square
#231D90 #901D51 #8A901D #1D905D
split-complementary
#231D90 #905D1D #51901D
monochromatic
#0A082A #17135D #231D90 #2F27C3 #544CDB

Accessibility & contrast

On white

12.73
#231D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#231D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D90
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D90#FFFFFF#000000##FFFFFF
##231D901.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#002D8E
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #231d90;
/* rgb */ color: rgb(35, 29, 144);
/* oklch */ color: oklch(33.7% 0.178 273.6);
Tailwind
colors: {
  custom: {
    50: '#715cb2',
    500: '#231d90',
    950: '#000000',
  },
}
SCSS
$custom: #231d90;
$custom-light: #715cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#231d90",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 144
  },
  "hsl": {
    "h": 243.13,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3371,
    "c": 0.1778,
    "h": 273.6
  },
  "luminance": 0.0325
}

Semantic roles & 50–950 ramp

primary
#231D90
secondary
#B7BD4B
accent
#E93EE0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231D90

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

Preview Lab → · Contrast checker → · Palette generator →

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