#231A9A#231A9A

#231A9A is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.5% C 0.192 H 272.9°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#231A9A
RGBrgb(35, 26, 154)
HSLhsl(244, 71%, 35%)
HSVhsv(244, 83%, 60%)
CMYKcmyk(77.3%, 83.1%, 0%, 39.6%)
CIE-LABlab(21.68, 46.08, -66.41)
CIE-LCHlch(21.68, 80.83, 304.76°)
OKLaboklab(34.52% 0.0096 -0.1921)
OKLCHoklch(34.52% 0.192 272.9)
XYZxyz(6.8933, 3.4285, 30.8641)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A9A #919A1A
analogous
#1A519A #231A9A #631A9A
triadic
#231A9A #9A231A #1A9A23
tetradic
#231A9A #9A1A51 #919A1A #1A9A63
square
#231A9A #9A1A51 #919A1A #1A9A63
split-complementary
#231A9A #9A631A #519A1A
monochromatic
#0B0831 #171166 #231A9A #2F23CE #584DE1

Accessibility & contrast

On white

12.46
#231A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#231A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A9A
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A9A#FFFFFF#000000##FFFFFF
##231A9A1.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231a9a;
/* rgb */ color: rgb(35, 26, 154);
/* oklch */ color: oklch(34.5% 0.192 272.9);
Tailwind
colors: {
  custom: {
    50: '#745bb9',
    500: '#231a9a',
    950: '#000000',
  },
}
SCSS
$custom: #231a9a;
$custom-light: #745bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#231a9a",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 154
  },
  "hsl": {
    "h": 244.219,
    "s": 71.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34522,
    "c": 0.19235,
    "h": 272.9
  },
  "luminance": 0.03429
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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