#231D89#231D89

#231D89 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.169 H 274.3°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#231D89
RGBrgb(35, 29, 137)
HSLhsl(243, 65%, 33%)
HSVhsv(243, 79%, 54%)
CMYKcmyk(74.5%, 78.8%, 0%, 46.3%)
CIE-LABlab(20.21, 39.02, -58.30)
CIE-LCHlch(20.21, 70.15, 303.79°)
OKLaboklab(32.91% 0.0127 -0.1686)
OKLCHoklch(32.91% 0.169 274.3)
XYZxyz(5.6464, 3.0416, 23.9516)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D89 #83891D
analogous
#1D4D89 #231D89 #591D89
triadic
#231D89 #89231D #1D8923
tetradic
#231D89 #891D4D #83891D #1D8959
square
#231D89 #891D4D #83891D #1D8959
split-complementary
#231D89 #89591D #4D891D
monochromatic
#090824 #161256 #231D89 #3028BC #5048D8

Accessibility & contrast

On white

13.06
#231D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#231D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D89
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D89#FFFFFF#000000##FFFFFF
##231D891.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368C
Deuteranopia (green-blind)
#002C87
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #231d89;
/* rgb */ color: rgb(35, 29, 137);
/* oklch */ color: oklch(32.9% 0.169 274.3);
Tailwind
colors: {
  custom: {
    50: '#705bad',
    500: '#231d89',
    950: '#000000',
  },
}
SCSS
$custom: #231d89;
$custom-light: #705bad;
$custom-dark: #000000;
JSON
{
  "hex": "#231d89",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 243.333,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32908,
    "c": 0.16912,
    "h": 274.3
  },
  "luminance": 0.03042
}

Semantic roles & 50–950 ramp

primary
#231D89
secondary
#B4BA47
accent
#E840DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #231D89

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

Preview Lab → · Contrast checker → · Palette generator →

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