#231B88#231B88

#231B88 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.170 H 274.7°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#231B88
RGBrgb(35, 27, 136)
HSLhsl(244, 67%, 32%)
HSVhsv(244, 80%, 53%)
CMYKcmyk(74.3%, 80.1%, 0%, 46.7%)
CIE-LABlab(19.71, 39.78, -58.49)
CIE-LCHlch(19.71, 70.74, 304.22°)
OKLaboklab(32.53% 0.0138 -0.1692)
OKLCHoklch(32.53% 0.17 274.7)
XYZxyz(5.5275, 2.9182, 23.5597)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B88 #80881B
analogous
#1B4988 #231B88 #5A1B88
triadic
#231B88 #88231B #1B8823
tetradic
#231B88 #881B49 #80881B #1B885A
square
#231B88 #881B49 #80881B #1B885A
split-complementary
#231B88 #885A1B #49881B
monochromatic
#090722 #161155 #231B88 #3025BB #4F44DA

Accessibility & contrast

On white

13.26
#231B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231B88
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B88#FFFFFF#000000##FFFFFF
##231B881.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231b88;
/* rgb */ color: rgb(35, 27, 136);
/* oklch */ color: oklch(32.5% 0.170 274.7);
Tailwind
colors: {
  custom: {
    50: '#705aac',
    500: '#231b88',
    950: '#000000',
  },
}
SCSS
$custom: #231b88;
$custom-light: #705aac;
$custom-dark: #000000;
JSON
{
  "hex": "#231b88",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 244.404,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32526,
    "c": 0.16973,
    "h": 274.7
  },
  "luminance": 0.02919
}

Semantic roles & 50–950 ramp

primary
#231B88
secondary
#B2BB44
accent
#EA3EDD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #231B88

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

Preview Lab → · Contrast checker → · Palette generator →

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