#231B93#231B93

#231B93 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.8% C 0.183 H 273.5°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#231B93
RGBrgb(35, 27, 147)
HSLhsl(244, 69%, 34%)
HSVhsv(244, 82%, 58%)
CMYKcmyk(76.2%, 81.6%, 0%, 42.4%)
CIE-LABlab(21.01, 43.37, -63.21)
CIE-LCHlch(21.01, 76.66, 304.45°)
OKLaboklab(33.81% 0.0111 -0.1829)
OKLCHoklch(33.81% 0.183 273.5)
XYZxyz(6.3498, 3.2471, 27.8902)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B93 #8B931B
analogous
#1B4F93 #231B93 #5F1B93
triadic
#231B93 #93231B #1B9323
tetradic
#231B93 #931B4F #8B931B #1B935F
square
#231B93 #931B4F #8B931B #1B935F
split-complementary
#231B93 #935F1B #4F931B
monochromatic
#0A082C #17125F #231B93 #2F24C7 #544BDE

Accessibility & contrast

On white

12.73
#231B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#231B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B93
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B93#FFFFFF#000000##FFFFFF
##231B931.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003896
Deuteranopia (green-blind)
#002D91
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #231b93;
/* rgb */ color: rgb(35, 27, 147);
/* oklch */ color: oklch(33.8% 0.183 273.5);
Tailwind
colors: {
  custom: {
    50: '#725bb4',
    500: '#231b93',
    950: '#000000',
  },
}
SCSS
$custom: #231b93;
$custom-light: #725bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#231b93",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 147
  },
  "hsl": {
    "h": 244,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.33808,
    "c": 0.18319,
    "h": 273.5
  },
  "luminance": 0.03248
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231B93

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

Preview Lab → · Contrast checker → · Palette generator →

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