#231A91#231A91

#231A91 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.5% C 0.182 H 273.8°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#231A91
RGBrgb(35, 26, 145)
HSLhsl(245, 70%, 34%)
HSVhsv(245, 82%, 57%)
CMYKcmyk(75.9%, 82.1%, 0%, 43.1%)
CIE-LABlab(20.60, 43.23, -62.65)
CIE-LCHlch(20.60, 76.12, 304.60°)
OKLaboklab(33.45% 0.0119 -0.1812)
OKLCHoklch(33.45% 0.182 273.8)
XYZxyz(6.1717, 3.1398, 27.0634)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A91 #88911A
analogous
#1A4C91 #231A91 #5E1A91
triadic
#231A91 #91231A #1A9123
tetradic
#231A91 #911A4C #88911A #1A915E
square
#231A91 #911A4C #88911A #1A915E
split-complementary
#231A91 #915E1A #4C911A
monochromatic
#0A0729 #16115D #231A91 #3023C5 #5347DE

Accessibility & contrast

On white

12.90
#231A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#231A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A91
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A91#FFFFFF#000000##FFFFFF
##231A911.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003794
Deuteranopia (green-blind)
#002C8F
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #231a91;
/* rgb */ color: rgb(35, 26, 145);
/* oklch */ color: oklch(33.5% 0.182 273.8);
Tailwind
colors: {
  custom: {
    50: '#725ab3',
    500: '#231a91',
    950: '#000000',
  },
}
SCSS
$custom: #231a91;
$custom-light: #725ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#231a91",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 145
  },
  "hsl": {
    "h": 244.538,
    "s": 69.591,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33451,
    "c": 0.18162,
    "h": 273.8
  },
  "luminance": 0.0314
}

Semantic roles & 50–950 ramp

primary
#231A91
secondary
#B7C047
accent
#EC3BDF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231A91

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

Preview Lab → · Contrast checker → · Palette generator →

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