#231D91#231D91

#231D91 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.179 H 273.5°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#231D91
RGBrgb(35, 29, 145)
HSLhsl(243, 67%, 34%)
HSVhsv(243, 80%, 57%)
CMYKcmyk(75.9%, 80%, 0%, 43.1%)
CIE-LABlab(21.13, 41.68, -61.77)
CIE-LCHlch(21.13, 74.51, 304.01°)
OKLaboklab(33.83% 0.0108 -0.1787)
OKLCHoklch(33.83% 0.179 273.5)
XYZxyz(6.2416, 3.2797, 27.0867)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D91 #8B911D
analogous
#1D5191 #231D91 #5D1D91
triadic
#231D91 #91231D #1D9123
tetradic
#231D91 #911D51 #8B911D #1D915D
square
#231D91 #911D51 #8B911D #1D915D
split-complementary
#231D91 #915D1D #51911D
monochromatic
#0A092B #17135E #231D91 #2F27C4 #544DDB

Accessibility & contrast

On white

12.68
#231D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#231D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D91
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D91#FFFFFF#000000##FFFFFF
##231D911.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003894
Deuteranopia (green-blind)
#002D8F
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #231d91;
/* rgb */ color: rgb(35, 29, 145);
/* oklch */ color: oklch(33.8% 0.179 273.5);
Tailwind
colors: {
  custom: {
    50: '#725cb3',
    500: '#231d91',
    950: '#000000',
  },
}
SCSS
$custom: #231d91;
$custom-light: #725cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#231d91",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 145
  },
  "hsl": {
    "h": 243.103,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.33825,
    "c": 0.17903,
    "h": 273.5
  },
  "luminance": 0.0328
}

Semantic roles & 50–950 ramp

primary
#231D91
secondary
#B8BE4C
accent
#EA3EE1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231D91

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

Preview Lab → · Contrast checker → · Palette generator →

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