#231A84#231A84

#231A84 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.166 H 275.3°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#231A84
RGBrgb(35, 26, 132)
HSLhsl(245, 67%, 31%)
HSVhsv(245, 80%, 52%)
CMYKcmyk(73.5%, 80.3%, 0%, 48.2%)
CIE-LABlab(19.06, 39.00, -57.05)
CIE-LCHlch(19.06, 69.11, 304.35°)
OKLaboklab(31.94% 0.0153 -0.165)
OKLCHoklch(31.94% 0.166 275.3)
XYZxyz(5.2260, 2.7616, 22.0829)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231A84 #7B841A
analogous
#1A4684 #231A84 #581A84
triadic
#231A84 #84231A #1A8423
tetradic
#231A84 #841A46 #7B841A #1A8458
square
#231A84 #841A46 #7B841A #1A8458
split-complementary
#231A84 #84581A #46841A
monochromatic
#08061E #151051 #231A84 #3124B7 #4C3FD9

Accessibility & contrast

On white

13.53
#231A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#231A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231A84
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231A84#FFFFFF#000000##FFFFFF
##231A841.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003387
Deuteranopia (green-blind)
#002982
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #231a84;
/* rgb */ color: rgb(35, 26, 132);
/* oklch */ color: oklch(31.9% 0.166 275.3);
Tailwind
colors: {
  custom: {
    50: '#6f59a9',
    500: '#231a84',
    950: '#000000',
  },
}
SCSS
$custom: #231a84;
$custom-light: #6f59a9;
$custom-dark: #000000;
JSON
{
  "hex": "#231a84",
  "rgb": {
    "r": 35,
    "g": 26,
    "b": 132
  },
  "hsl": {
    "h": 245.094,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31935,
    "c": 0.16568,
    "h": 275.3
  },
  "luminance": 0.02762
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231A84

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

Preview Lab → · Contrast checker → · Palette generator →

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