#231A9E#231A9E

#231A9E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.0% C 0.197 H 272.5°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#231A9E
RGBrgb(35, 26, 158)
HSLhsl(244, 72%, 36%)
HSVhsv(244, 84%, 62%)
CMYKcmyk(77.8%, 83.5%, 0%, 38%)
CIE-LABlab(22.17, 47.33, -68.05)
CIE-LCHlch(22.17, 82.89, 304.82°)
OKLaboklab(35% 0.0086 -0.1969)
OKLCHoklch(35% 0.197 272.5)
XYZxyz(7.2320, 3.5640, 32.6479)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A9E #959E1A
analogous
#1A539E #231A9E #651A9E
triadic
#231A9E #9E231A #1A9E23
tetradic
#231A9E #9E1A53 #959E1A #1A9E65
square
#231A9E #9E1A53 #959E1A #1A9E65
split-complementary
#231A9E #9E651A #539E1A
monochromatic
#0C0935 #171169 #231A9E #2F23D3 #5A50E2

Accessibility & contrast

On white

12.26
#231A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231A9E
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A9E#FFFFFF#000000##FFFFFF
##231A9E1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002E9C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #231a9e;
/* rgb */ color: rgb(35, 26, 158);
/* oklch */ color: oklch(35.0% 0.197 272.5);
Tailwind
colors: {
  custom: {
    50: '#755bbc',
    500: '#231a9e',
    950: '#000000',
  },
}
SCSS
$custom: #231a9e;
$custom-light: #755bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#231a9e",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 244.091,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35002,
    "c": 0.19705,
    "h": 272.5
  },
  "luminance": 0.03565
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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