#231C84#231C84

#231C84 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.164 H 275.0°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#231C84
RGBrgb(35, 28, 132)
HSLhsl(244, 65%, 31%)
HSVhsv(244, 79%, 52%)
CMYKcmyk(73.5%, 78.8%, 0%, 48.2%)
CIE-LABlab(19.45, 37.90, -56.42)
CIE-LCHlch(19.45, 67.97, 303.89°)
OKLaboklab(32.2% 0.0143 -0.1631)
OKLCHoklch(32.2% 0.164 275)
XYZxyz(5.2719, 2.8533, 22.0982)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C84 #7D841C
analogous
#1C4984 #231C84 #571C84
triadic
#231C84 #84231C #1C8423
tetradic
#231C84 #841C49 #7D841C #1C8457
square
#231C84 #841C49 #7D841C #1C8457
split-complementary
#231C84 #84571C #49841C
monochromatic
#08071F #161152 #231C84 #3027B6 #4D43D7

Accessibility & contrast

On white

13.37
#231C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231C84
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C84#FFFFFF#000000##FFFFFF
##231C841.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003487
Deuteranopia (green-blind)
#002A82
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #231c84;
/* rgb */ color: rgb(35, 28, 132);
/* oklch */ color: oklch(32.2% 0.164 275.0);
Tailwind
colors: {
  custom: {
    50: '#6e5aa9',
    500: '#231c84',
    950: '#000000',
  },
}
SCSS
$custom: #231c84;
$custom-light: #6e5aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#231c84",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 244.038,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32204,
    "c": 0.16378,
    "h": 275
  },
  "luminance": 0.02854
}

Semantic roles & 50–950 ramp

primary
#231C84
secondary
#AFB745
accent
#E840DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #231C84

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

Preview Lab → · Contrast checker → · Palette generator →

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