#231B92#231B92

#231B92 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.7% C 0.182 H 273.6°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#231B92
RGBrgb(35, 27, 146)
HSLhsl(244, 69%, 34%)
HSVhsv(244, 82%, 57%)
CMYKcmyk(76%, 81.5%, 0%, 42.7%)
CIE-LABlab(20.89, 43.04, -62.79)
CIE-LCHlch(20.89, 76.13, 304.43°)
OKLaboklab(33.69% 0.0113 -0.1816)
OKLCHoklch(33.69% 0.182 273.6)
XYZxyz(6.2716, 3.2159, 27.4788)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B92 #8A921B
analogous
#1B4F92 #231B92 #5F1B92
triadic
#231B92 #92231B #1B9223
tetradic
#231B92 #921B4F #8A921B #1B925F
square
#231B92 #921B4F #8A921B #1B925F
split-complementary
#231B92 #925F1B #4F921B
monochromatic
#0A082B #17115E #231B92 #2F25C6 #544ADE

Accessibility & contrast

On white

12.78
#231B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#231B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B92
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B92#FFFFFF#000000##FFFFFF
##231B921.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231b92;
/* rgb */ color: rgb(35, 27, 146);
/* oklch */ color: oklch(33.7% 0.182 273.6);
Tailwind
colors: {
  custom: {
    50: '#725bb3',
    500: '#231b92',
    950: '#000000',
  },
}
SCSS
$custom: #231b92;
$custom-light: #725bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#231b92",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 146
  },
  "hsl": {
    "h": 244.034,
    "s": 68.786,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3369,
    "c": 0.18199,
    "h": 273.6
  },
  "luminance": 0.03217
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231B92

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

Preview Lab → · Contrast checker → · Palette generator →

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