#231A82#231A82

#231A82 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.163 H 275.6°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#231A82
RGBrgb(35, 26, 130)
HSLhsl(245, 67%, 31%)
HSVhsv(245, 80%, 51%)
CMYKcmyk(73.1%, 80%, 0%, 49%)
CIE-LABlab(18.83, 38.34, -56.17)
CIE-LCHlch(18.83, 68.01, 304.31°)
OKLaboklab(31.71% 0.0158 -0.1624)
OKLCHoklch(31.71% 0.163 275.6)
XYZxyz(5.0905, 2.7073, 21.3691)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A82 #79821A
analogous
#1A4582 #231A82 #571A82
triadic
#231A82 #82231A #1A8223
tetradic
#231A82 #821A45 #79821A #1A8257
square
#231A82 #821A45 #79821A #1A8257
split-complementary
#231A82 #82571A #45821A
monochromatic
#08061C #15104F #231A82 #3124B5 #4B3ED8

Accessibility & contrast

On white

13.62
#231A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#231A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A82
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A82#FFFFFF#000000##FFFFFF
##231A821.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003285
Deuteranopia (green-blind)
#002980
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #231a82;
/* rgb */ color: rgb(35, 26, 130);
/* oklch */ color: oklch(31.7% 0.163 275.6);
Tailwind
colors: {
  custom: {
    50: '#6e59a7',
    500: '#231a82',
    950: '#000000',
  },
}
SCSS
$custom: #231a82;
$custom-light: #6e59a7;
$custom-dark: #000000;
JSON
{
  "hex": "#231a82",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 245.192,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31705,
    "c": 0.16318,
    "h": 275.6
  },
  "luminance": 0.02708
}

Semantic roles & 50–950 ramp

primary
#231A82
secondary
#ACB642
accent
#EA3EDB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #231A82

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

Preview Lab → · Contrast checker → · Palette generator →

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