#231A97#231A97

#231A97 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.2% C 0.189 H 273.1°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#231A97
RGBrgb(35, 26, 151)
HSLhsl(244, 71%, 35%)
HSVhsv(244, 83%, 59%)
CMYKcmyk(76.8%, 82.8%, 0%, 40.8%)
CIE-LABlab(21.32, 45.14, -65.17)
CIE-LCHlch(21.32, 79.27, 304.71°)
OKLaboklab(34.16% 0.0104 -0.1885)
OKLCHoklch(34.16% 0.189 273.1)
XYZxyz(6.6466, 3.3298, 29.5646)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A97 #8E971A
analogous
#1A5097 #231A97 #621A97
triadic
#231A97 #97231A #1A9723
tetradic
#231A97 #971A50 #8E971A #1A9762
square
#231A97 #971A50 #8E971A #1A9762
split-complementary
#231A97 #97621A #50971A
monochromatic
#0B082F #171163 #231A97 #2F23CB #564BE0

Accessibility & contrast

On white

12.61
#231A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#231A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A97
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A97#FFFFFF#000000##FFFFFF
##231A971.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231a97;
/* rgb */ color: rgb(35, 26, 151);
/* oklch */ color: oklch(34.2% 0.189 273.1);
Tailwind
colors: {
  custom: {
    50: '#735bb7',
    500: '#231a97',
    950: '#000000',
  },
}
SCSS
$custom: #231a97;
$custom-light: #735bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#231a97",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 244.32,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34163,
    "c": 0.1888,
    "h": 273.1
  },
  "luminance": 0.0333
}

Semantic roles & 50–950 ramp

primary
#231A97
secondary
#B9C24B
accent
#ED3AE1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #231A97

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

Preview Lab → · Contrast checker → · Palette generator →

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