#231A88#231A88

#231A88 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.171 H 274.8°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#231A88
RGBrgb(35, 26, 136)
HSLhsl(245, 68%, 32%)
HSVhsv(245, 81%, 53%)
CMYKcmyk(74.3%, 80.9%, 0%, 46.7%)
CIE-LABlab(19.53, 40.31, -58.80)
CIE-LCHlch(19.53, 71.29, 304.43°)
OKLaboklab(32.4% 0.0143 -0.17)
OKLCHoklch(32.4% 0.171 274.8)
XYZxyz(5.5050, 2.8731, 23.5522)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A88 #7F881A
analogous
#1A4888 #231A88 #5A1A88
triadic
#231A88 #88231A #1A8823
tetradic
#231A88 #881A48 #7F881A #1A885A
square
#231A88 #881A48 #7F881A #1A885A
split-complementary
#231A88 #885A1A #48881A
monochromatic
#090621 #161055 #231A88 #3024BB #4E42DB

Accessibility & contrast

On white

13.34
#231A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231A88
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A88#FFFFFF#000000##FFFFFF
##231A881.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348B
Deuteranopia (green-blind)
#002A86
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #231a88;
/* rgb */ color: rgb(35, 26, 136);
/* oklch */ color: oklch(32.4% 0.171 274.8);
Tailwind
colors: {
  custom: {
    50: '#7059ac',
    500: '#231a88',
    950: '#000000',
  },
}
SCSS
$custom: #231a88;
$custom-light: #7059ac;
$custom-dark: #000000;
JSON
{
  "hex": "#231a88",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 136
  },
  "hsl": {
    "h": 244.909,
    "s": 67.901,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32397,
    "c": 0.17065,
    "h": 274.8
  },
  "luminance": 0.02874
}

Semantic roles & 50–950 ramp

primary
#231A88
secondary
#B1BB43
accent
#EB3DDD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #231A88

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

Preview Lab → · Contrast checker → · Palette generator →

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