#231C82#231C82

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

Color values

HEX#231C82
RGBrgb(35, 28, 130)
HSLhsl(244, 65%, 31%)
HSVhsv(244, 78%, 51%)
CMYKcmyk(73.1%, 78.5%, 0%, 49%)
CIE-LABlab(19.22, 37.22, -55.53)
CIE-LCHlch(19.22, 66.85, 303.83°)
OKLaboklab(31.98% 0.0148 -0.1606)
OKLCHoklch(31.98% 0.161 275.3)
XYZxyz(5.1363, 2.7990, 21.3843)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C82 #7B821C
analogous
#1C4882 #231C82 #561C82
triadic
#231C82 #82231C #1C8223
tetradic
#231C82 #821C48 #7B821C #1C8256
square
#231C82 #821C48 #7B821C #1C8256
split-complementary
#231C82 #82561C #48821C
monochromatic
#08061D #151150 #231C82 #3127B4 #4C42D6

Accessibility & contrast

On white

13.46
#231C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#231C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C82
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C82#FFFFFF#000000##FFFFFF
##231C821.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003385
Deuteranopia (green-blind)
#002A80
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #231c82;
/* rgb */ color: rgb(35, 28, 130);
/* oklch */ color: oklch(32.0% 0.161 275.3);
Tailwind
colors: {
  custom: {
    50: '#6e5aa7',
    500: '#231c82',
    950: '#000000',
  },
}
SCSS
$custom: #231c82;
$custom-light: #6e5aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#231c82",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 244.118,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31978,
    "c": 0.16124,
    "h": 275.3
  },
  "luminance": 0.028
}

Semantic roles & 50–950 ramp

primary
#231C82
secondary
#AEB544
accent
#E840DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #231C82

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

Preview Lab → · Contrast checker → · Palette generator →

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