#231B90#231B90

#231B90 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.180 H 273.8°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#231B90
RGBrgb(35, 27, 144)
HSLhsl(244, 68%, 34%)
HSVhsv(244, 81%, 56%)
CMYKcmyk(75.7%, 81.3%, 0%, 43.5%)
CIE-LABlab(20.65, 42.40, -61.94)
CIE-LCHlch(20.65, 75.06, 304.39°)
OKLaboklab(33.46% 0.0118 -0.1792)
OKLCHoklch(33.46% 0.18 273.8)
XYZxyz(6.1174, 3.1542, 26.6666)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B90 #88901B
analogous
#1B4D90 #231B90 #5D1B90
triadic
#231B90 #90231B #1B9023
tetradic
#231B90 #901B4D #88901B #1B905D
square
#231B90 #901B4D #88901B #1B905D
split-complementary
#231B90 #905D1B #4D901B
monochromatic
#0A0829 #16115C #231B90 #3025C4 #5349DD

Accessibility & contrast

On white

12.88
#231B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#231B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B90
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B90#FFFFFF#000000##FFFFFF
##231B901.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#002C8E
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #231b90;
/* rgb */ color: rgb(35, 27, 144);
/* oklch */ color: oklch(33.5% 0.180 273.8);
Tailwind
colors: {
  custom: {
    50: '#725bb2',
    500: '#231b90',
    950: '#000000',
  },
}
SCSS
$custom: #231b90;
$custom-light: #725bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#231b90",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 144
  },
  "hsl": {
    "h": 244.103,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33456,
    "c": 0.17957,
    "h": 273.8
  },
  "luminance": 0.03155
}

Semantic roles & 50–950 ramp

primary
#231B90
secondary
#B7BF48
accent
#EB3DDF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231B90

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

Preview Lab → · Contrast checker → · Palette generator →

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