#231C91#231C91

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

Color values

HEX#231C91
RGBrgb(35, 28, 145)
HSLhsl(244, 68%, 34%)
HSVhsv(244, 81%, 57%)
CMYKcmyk(75.9%, 80.7%, 0%, 43.1%)
CIE-LABlab(20.95, 42.20, -62.07)
CIE-LCHlch(20.95, 75.06, 304.21°)
OKLaboklab(33.7% 0.0112 -0.1796)
OKLCHoklch(33.7% 0.18 273.6)
XYZxyz(6.2175, 3.2315, 27.0786)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C91 #8A911C
analogous
#1C5091 #231C91 #5E1C91
triadic
#231C91 #91231C #1C9123
tetradic
#231C91 #911C50 #8A911C #1C915E
square
#231C91 #911C50 #8A911C #1C915E
split-complementary
#231C91 #915E1C #50911C
monochromatic
#0A082A #17125E #231C91 #2F26C4 #544BDC

Accessibility & contrast

On white

12.76
#231C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231C91
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C91#FFFFFF#000000##FFFFFF
##231C911.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003894
Deuteranopia (green-blind)
#002D8F
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #231c91;
/* rgb */ color: rgb(35, 28, 145);
/* oklch */ color: oklch(33.7% 0.180 273.6);
Tailwind
colors: {
  custom: {
    50: '#725bb3',
    500: '#231c91',
    950: '#000000',
  },
}
SCSS
$custom: #231c91;
$custom-light: #725bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#231c91",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 243.59,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33697,
    "c": 0.17992,
    "h": 273.6
  },
  "luminance": 0.03232
}

Semantic roles & 50–950 ramp

primary
#231C91
secondary
#B7BE4A
accent
#EB3DE0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231C91

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

Preview Lab → · Contrast checker → · Palette generator →

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