#231A99#231A99

#231A99 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.4% C 0.191 H 273.0°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#231A99
RGBrgb(35, 26, 153)
HSLhsl(244, 71%, 35%)
HSVhsv(244, 83%, 60%)
CMYKcmyk(77.1%, 83%, 0%, 40%)
CIE-LABlab(21.56, 45.77, -65.99)
CIE-LCHlch(21.56, 80.31, 304.74°)
OKLaboklab(34.4% 0.0099 -0.1909)
OKLCHoklch(34.4% 0.191 273)
XYZxyz(6.8104, 3.3953, 30.4272)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A99 #90991A
analogous
#1A5099 #231A99 #621A99
triadic
#231A99 #99231A #1A9923
tetradic
#231A99 #991A50 #90991A #1A9962
square
#231A99 #991A50 #90991A #1A9962
split-complementary
#231A99 #99621A #50991A
monochromatic
#0B0830 #171165 #231A99 #2F23CD #574DE1

Accessibility & contrast

On white

12.51
#231A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231A99
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A99#FFFFFF#000000##FFFFFF
##231A991.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9C
Deuteranopia (green-blind)
#002D97
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #231a99;
/* rgb */ color: rgb(35, 26, 153);
/* oklch */ color: oklch(34.4% 0.191 273.0);
Tailwind
colors: {
  custom: {
    50: '#745bb8',
    500: '#231a99',
    950: '#000000',
  },
}
SCSS
$custom: #231a99;
$custom-light: #745bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#231a99",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 153
  },
  "hsl": {
    "h": 244.252,
    "s": 70.95,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34402,
    "c": 0.19117,
    "h": 273
  },
  "luminance": 0.03396
}

Semantic roles & 50–950 ramp

primary
#231A99
secondary
#BAC34C
accent
#EE3AE1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #231A99

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

Preview Lab → · Contrast checker → · Palette generator →

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