#231A9F#231A9F

#231A9F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.1% C 0.198 H 272.4°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#231A9F
RGBrgb(35, 26, 159)
HSLhsl(244, 72%, 36%)
HSVhsv(244, 84%, 62%)
CMYKcmyk(78%, 83.6%, 0%, 37.6%)
CIE-LABlab(22.30, 47.64, -68.45)
CIE-LCHlch(22.30, 83.40, 304.84°)
OKLaboklab(35.12% 0.0083 -0.198)
OKLCHoklch(35.12% 0.198 272.4)
XYZxyz(7.3184, 3.5985, 33.1030)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A9F #969F1A
analogous
#1A549F #231A9F #661A9F
triadic
#231A9F #9F231A #1A9F23
tetradic
#231A9F #9F1A54 #969F1A #1A9F66
square
#231A9F #9F1A54 #969F1A #1A9F66
split-complementary
#231A9F #9F661A #549F1A
monochromatic
#0C0936 #17116A #231A9F #2F23D4 #5B51E3

Accessibility & contrast

On white

12.21
#231A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#231A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A9F
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A9F#FFFFFF#000000##FFFFFF
##231A9F1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231a9f;
/* rgb */ color: rgb(35, 26, 159);
/* oklch */ color: oklch(35.1% 0.198 272.4);
Tailwind
colors: {
  custom: {
    50: '#755bbd',
    500: '#231a9f',
    950: '#000000',
  },
}
SCSS
$custom: #231a9f;
$custom-light: #755bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#231a9f",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 244.06,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35122,
    "c": 0.19821,
    "h": 272.4
  },
  "luminance": 0.03599
}

Semantic roles & 50–950 ramp

primary
#231A9F
secondary
#BDC550
accent
#EF39E2
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #231A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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