#231B94#231B94

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

Color values

HEX#231B94
RGBrgb(35, 27, 148)
HSLhsl(244, 69%, 34%)
HSVhsv(244, 82%, 58%)
CMYKcmyk(76.4%, 81.8%, 0%, 42%)
CIE-LABlab(21.13, 43.69, -63.63)
CIE-LCHlch(21.13, 77.19, 304.47°)
OKLaboklab(33.92% 0.0108 -0.1841)
OKLCHoklch(33.92% 0.184 273.4)
XYZxyz(6.4286, 3.2786, 28.3053)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B94 #8C941B
analogous
#1B5094 #231B94 #601B94
triadic
#231B94 #94231B #1B9423
tetradic
#231B94 #941B50 #8C941B #1B9460
square
#231B94 #941B50 #8C941B #1B9460
split-complementary
#231B94 #94601B #50941B
monochromatic
#0B082C #171260 #231B94 #2F24C8 #554BDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##231B94#FFFFFF#000000##FFFFFF
##231B941.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)
#003897
Deuteranopia (green-blind)
#002D92
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #231b94;
/* rgb */ color: rgb(35, 27, 148);
/* oklch */ color: oklch(33.9% 0.184 273.4);
Tailwind
colors: {
  custom: {
    50: '#735bb5',
    500: '#231b94',
    950: '#000000',
  },
}
SCSS
$custom: #231b94;
$custom-light: #735bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#231b94",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 148
  },
  "hsl": {
    "h": 243.967,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.33925,
    "c": 0.1844,
    "h": 273.4
  },
  "luminance": 0.03279
}

Semantic roles & 50–950 ramp

primary
#231B94
secondary
#B8C04B
accent
#EC3CE0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231B94

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

Preview Lab → · Contrast checker → · Palette generator →

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