#231A89#231A89

#231A89 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.172 H 274.7°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#231A89
RGBrgb(35, 26, 137)
HSLhsl(245, 68%, 32%)
HSVhsv(245, 81%, 54%)
CMYKcmyk(74.5%, 81%, 0%, 46.3%)
CIE-LABlab(19.65, 40.64, -59.23)
CIE-LCHlch(19.65, 71.84, 304.45°)
OKLaboklab(32.51% 0.014 -0.1713)
OKLCHoklch(32.51% 0.172 274.7)
XYZxyz(5.5764, 2.9017, 23.9283)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A89 #80891A
analogous
#1A4989 #231A89 #5B1A89
triadic
#231A89 #89231A #1A8923
tetradic
#231A89 #891A49 #80891A #1A895B
square
#231A89 #891A49 #80891A #1A895B
split-complementary
#231A89 #895B1A #49891A
monochromatic
#090622 #161056 #231A89 #3024BC #4F42DB

Accessibility & contrast

On white

13.29
#231A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#231A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A89
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A89#FFFFFF#000000##FFFFFF
##231A891.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002A87
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #231a89;
/* rgb */ color: rgb(35, 26, 137);
/* oklch */ color: oklch(32.5% 0.172 274.7);
Tailwind
colors: {
  custom: {
    50: '#7059ad',
    500: '#231a89',
    950: '#000000',
  },
}
SCSS
$custom: #231a89;
$custom-light: #7059ad;
$custom-dark: #000000;
JSON
{
  "hex": "#231a89",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 244.865,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32513,
    "c": 0.17188,
    "h": 274.7
  },
  "luminance": 0.02902
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231A89

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

Preview Lab → · Contrast checker → · Palette generator →

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