#231B97#231B97

#231B97 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.3% C 0.188 H 273.1°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#231B97
RGBrgb(35, 27, 151)
HSLhsl(244, 70%, 35%)
HSVhsv(244, 82%, 59%)
CMYKcmyk(76.8%, 82.1%, 0%, 40.8%)
CIE-LABlab(21.49, 44.65, -64.89)
CIE-LCHlch(21.49, 78.76, 304.53°)
OKLaboklab(34.28% 0.0101 -0.1877)
OKLCHoklch(34.28% 0.188 273.1)
XYZxyz(6.6691, 3.3749, 29.5721)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B97 #8F971B
analogous
#1B5197 #231B97 #611B97
triadic
#231B97 #97231B #1B9723
tetradic
#231B97 #971B51 #8F971B #1B9761
square
#231B97 #971B51 #8F971B #1B9761
split-complementary
#231B97 #97611B #51971B
monochromatic
#0B082F #171263 #231B97 #2F24CB #574DDF

Accessibility & contrast

On white

12.54
#231B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#231B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B97
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B97#FFFFFF#000000##FFFFFF
##231B971.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00399A
Deuteranopia (green-blind)
#002D95
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #231b97;
/* rgb */ color: rgb(35, 27, 151);
/* oklch */ color: oklch(34.3% 0.188 273.1);
Tailwind
colors: {
  custom: {
    50: '#735bb7',
    500: '#231b97',
    950: '#000000',
  },
}
SCSS
$custom: #231b97;
$custom-light: #735bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#231b97",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 243.871,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3428,
    "c": 0.188,
    "h": 273.1
  },
  "luminance": 0.03376
}

Semantic roles & 50–950 ramp

primary
#231B97
secondary
#BAC14C
accent
#EC3BE1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #231B97

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

Preview Lab → · Contrast checker → · Palette generator →

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