#231B95#231B95

#231B95 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.0% C 0.186 H 273.3°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#231B95
RGBrgb(35, 27, 149)
HSLhsl(244, 69%, 35%)
HSVhsv(244, 82%, 58%)
CMYKcmyk(76.5%, 81.9%, 0%, 41.6%)
CIE-LABlab(21.25, 44.01, -64.05)
CIE-LCHlch(21.25, 77.71, 304.49°)
OKLaboklab(34.04% 0.0106 -0.1853)
OKLCHoklch(34.04% 0.186 273.3)
XYZxyz(6.5081, 3.3104, 28.7239)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B95 #8D951B
analogous
#1B5095 #231B95 #601B95
triadic
#231B95 #95231B #1B9523
tetradic
#231B95 #951B50 #8D951B #1B9560
square
#231B95 #951B50 #8D951B #1B9560
split-complementary
#231B95 #95601B #50951B
monochromatic
#0B082D #171261 #231B95 #2F24C9 #554CDF

Accessibility & contrast

On white

12.63
#231B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231B95
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B95#FFFFFF#000000##FFFFFF
##231B951.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003998
Deuteranopia (green-blind)
#002D93
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #231b95;
/* rgb */ color: rgb(35, 27, 149);
/* oklch */ color: oklch(34.0% 0.186 273.3);
Tailwind
colors: {
  custom: {
    50: '#735bb5',
    500: '#231b95',
    950: '#000000',
  },
}
SCSS
$custom: #231b95;
$custom-light: #735bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#231b95",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 149
  },
  "hsl": {
    "h": 243.934,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34043,
    "c": 0.1856,
    "h": 273.3
  },
  "luminance": 0.03311
}

Semantic roles & 50–950 ramp

primary
#231B95
secondary
#B9C14B
accent
#EC3CE1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231B95

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

Preview Lab → · Contrast checker → · Palette generator →

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