#231A86#231A86

#231A86 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.168 H 275.0°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#231A86
RGBrgb(35, 26, 134)
HSLhsl(245, 68%, 31%)
HSVhsv(245, 81%, 53%)
CMYKcmyk(73.9%, 80.6%, 0%, 47.5%)
CIE-LABlab(19.29, 39.66, -57.93)
CIE-LCHlch(19.29, 70.20, 304.39°)
OKLaboklab(32.17% 0.0148 -0.1675)
OKLCHoklch(32.17% 0.168 275)
XYZxyz(5.3642, 2.8168, 22.8106)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A86 #7D861A
analogous
#1A4786 #231A86 #591A86
triadic
#231A86 #86231A #1A8623
tetradic
#231A86 #861A47 #7D861A #1A8659
square
#231A86 #861A47 #7D861A #1A8659
split-complementary
#231A86 #86591A #47861A
monochromatic
#08061F #161053 #231A86 #3024B9 #4D40DA

Accessibility & contrast

On white

13.43
#231A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#231A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A86
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A86#FFFFFF#000000##FFFFFF
##231A861.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003389
Deuteranopia (green-blind)
#002A84
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #231a86;
/* rgb */ color: rgb(35, 26, 134);
/* oklch */ color: oklch(32.2% 0.168 275.0);
Tailwind
colors: {
  custom: {
    50: '#6f59aa',
    500: '#231a86',
    950: '#000000',
  },
}
SCSS
$custom: #231a86;
$custom-light: #6f59aa;
$custom-dark: #000000;
JSON
{
  "hex": "#231a86",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 245,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32165,
    "c": 0.16817,
    "h": 275
  },
  "luminance": 0.02817
}

Semantic roles & 50–950 ramp

primary
#231A86
secondary
#AFB942
accent
#EA3DDC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #231A86

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

Preview Lab → · Contrast checker → · Palette generator →

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