#231D88#231D88

#231D88 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.168 H 274.4°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#231D88
RGBrgb(35, 29, 136)
HSLhsl(243, 65%, 32%)
HSVhsv(243, 79%, 53%)
CMYKcmyk(74.3%, 78.7%, 0%, 46.7%)
CIE-LABlab(20.10, 38.68, -57.86)
CIE-LCHlch(20.10, 69.60, 303.76°)
OKLaboklab(32.8% 0.0129 -0.1674)
OKLCHoklch(32.8% 0.168 274.4)
XYZxyz(5.5750, 3.0131, 23.5756)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D88 #82881D
analogous
#1D4D88 #231D88 #581D88
triadic
#231D88 #88231D #1D8823
tetradic
#231D88 #881D4D #82881D #1D8858
square
#231D88 #881D4D #82881D #1D8858
split-complementary
#231D88 #88581D #4D881D
monochromatic
#090723 #161256 #231D88 #3028BA #5048D8

Accessibility & contrast

On white

13.10
#231D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#231D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D88
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D88#FFFFFF#000000##FFFFFF
##231D881.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358B
Deuteranopia (green-blind)
#002B86
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #231d88;
/* rgb */ color: rgb(35, 29, 136);
/* oklch */ color: oklch(32.8% 0.168 274.4);
Tailwind
colors: {
  custom: {
    50: '#6f5bac',
    500: '#231d88',
    950: '#000000',
  },
}
SCSS
$custom: #231d88;
$custom-light: #6f5bac;
$custom-dark: #000000;
JSON
{
  "hex": "#231d88",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 136
  },
  "hsl": {
    "h": 243.364,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32795,
    "c": 0.16786,
    "h": 274.4
  },
  "luminance": 0.03014
}

Semantic roles & 50–950 ramp

primary
#231D88
secondary
#B3BA47
accent
#E840DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #231D88

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

Preview Lab → · Contrast checker → · Palette generator →

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