#231A9D#231A9D

#231A9D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.9% C 0.196 H 272.6°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#231A9D
RGBrgb(35, 26, 157)
HSLhsl(244, 72%, 36%)
HSVhsv(244, 83%, 62%)
CMYKcmyk(77.7%, 83.4%, 0%, 38.4%)
CIE-LABlab(22.05, 47.02, -67.64)
CIE-LCHlch(22.05, 82.37, 304.81°)
OKLaboklab(34.88% 0.0088 -0.1957)
OKLCHoklch(34.88% 0.196 272.6)
XYZxyz(7.1463, 3.5297, 32.1964)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A9D #949D1A
analogous
#1A529D #231A9D #641A9D
triadic
#231A9D #9D231A #1A9D23
tetradic
#231A9D #9D1A52 #949D1A #1A9D64
square
#231A9D #9D1A52 #949D1A #1A9D64
split-complementary
#231A9D #9D641A #529D1A
monochromatic
#0C0934 #171168 #231A9D #2F23D2 #5A4FE2

Accessibility & contrast

On white

12.31
#231A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#231A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A9D
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A9D#FFFFFF#000000##FFFFFF
##231A9D1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA1
Deuteranopia (green-blind)
#002E9B
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #231a9d;
/* rgb */ color: rgb(35, 26, 157);
/* oklch */ color: oklch(34.9% 0.196 272.6);
Tailwind
colors: {
  custom: {
    50: '#755bbb',
    500: '#231a9d',
    950: '#000000',
  },
}
SCSS
$custom: #231a9d;
$custom-light: #755bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#231a9d",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 157
  },
  "hsl": {
    "h": 244.122,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34881,
    "c": 0.19588,
    "h": 272.6
  },
  "luminance": 0.0353
}

Semantic roles & 50–950 ramp

primary
#231A9D
secondary
#BCC44E
accent
#EE39E2
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #231A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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