#231E84#231E84

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

Color values

HEX#231E84
RGBrgb(35, 30, 132)
HSLhsl(243, 63%, 32%)
HSVhsv(243, 77%, 52%)
CMYKcmyk(73.5%, 77.3%, 0%, 48.2%)
CIE-LABlab(19.85, 36.76, -55.76)
CIE-LCHlch(19.85, 66.78, 303.39°)
OKLaboklab(32.49% 0.0133 -0.1612)
OKLCHoklch(32.49% 0.162 274.7)
XYZxyz(5.3209, 2.9513, 22.1146)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E84 #7F841E
analogous
#1E4C84 #231E84 #561E84
triadic
#231E84 #84231E #1E8423
tetradic
#231E84 #841E4C #7F841E #1E8456
square
#231E84 #841E4C #7F841E #1E8456
split-complementary
#231E84 #84561E #4C841E
monochromatic
#090720 #161352 #231E84 #3029B6 #4E47D5

Accessibility & contrast

On white

13.20
#231E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#231E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E84
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E84#FFFFFF#000000##FFFFFF
##231E841.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003587
Deuteranopia (green-blind)
#002B82
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #231e84;
/* rgb */ color: rgb(35, 30, 132);
/* oklch */ color: oklch(32.5% 0.162 274.7);
Tailwind
colors: {
  custom: {
    50: '#6e5ca9',
    500: '#231e84',
    950: '#000000',
  },
}
SCSS
$custom: #231e84;
$custom-light: #6e5ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#231e84",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 242.941,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32487,
    "c": 0.16179,
    "h": 274.7
  },
  "luminance": 0.02952
}

Semantic roles & 50–950 ramp

primary
#231E84
secondary
#B1B747
accent
#E642DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #231E84

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

Preview Lab → · Contrast checker → · Palette generator →

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