#231A87#231A87

#231A87 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.169 H 274.9°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#231A87
RGBrgb(35, 26, 135)
HSLhsl(245, 68%, 32%)
HSVhsv(245, 81%, 53%)
CMYKcmyk(74.1%, 80.7%, 0%, 47.1%)
CIE-LABlab(19.41, 39.98, -58.37)
CIE-LCHlch(19.41, 70.75, 304.41°)
OKLaboklab(32.28% 0.0145 -0.1688)
OKLCHoklch(32.28% 0.169 274.9)
XYZxyz(5.4343, 2.8449, 23.1797)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A87 #7E871A
analogous
#1A4887 #231A87 #5A1A87
triadic
#231A87 #87231A #1A8723
tetradic
#231A87 #871A48 #7E871A #1A875A
square
#231A87 #871A48 #7E871A #1A875A
split-complementary
#231A87 #875A1A #48871A
monochromatic
#080620 #161054 #231A87 #3024BA #4E41DA

Accessibility & contrast

On white

13.38
#231A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#231A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A87
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A87#FFFFFF#000000##FFFFFF
##231A871.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348A
Deuteranopia (green-blind)
#002A85
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #231a87;
/* rgb */ color: rgb(35, 26, 135);
/* oklch */ color: oklch(32.3% 0.169 274.9);
Tailwind
colors: {
  custom: {
    50: '#6f59ab',
    500: '#231a87',
    950: '#000000',
  },
}
SCSS
$custom: #231a87;
$custom-light: #6f59ab;
$custom-dark: #000000;
JSON
{
  "hex": "#231a87",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 244.954,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32281,
    "c": 0.16941,
    "h": 274.9
  },
  "luminance": 0.02845
}

Semantic roles & 50–950 ramp

primary
#231A87
secondary
#B0BA42
accent
#EB3DDC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #231A87

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

Preview Lab → · Contrast checker → · Palette generator →

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