#231E82#231E82

#231E82 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.159 H 274.9°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#231E82
RGBrgb(35, 30, 130)
HSLhsl(243, 63%, 31%)
HSVhsv(243, 77%, 51%)
CMYKcmyk(73.1%, 76.9%, 0%, 49%)
CIE-LABlab(19.63, 36.07, -54.86)
CIE-LCHlch(19.63, 65.65, 303.32°)
OKLaboklab(32.27% 0.0137 -0.1586)
OKLCHoklch(32.27% 0.159 274.9)
XYZxyz(5.1853, 2.8971, 21.4007)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E82 #7D821E
analogous
#1E4B82 #231E82 #551E82
triadic
#231E82 #82231E #1E8223
tetradic
#231E82 #821E4B #7D821E #1E8255
square
#231E82 #821E4B #7D821E #1E8255
split-complementary
#231E82 #82551E #4B821E
monochromatic
#08071F #161350 #231E82 #3029B4 #4D46D4

Accessibility & contrast

On white

13.29
#231E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#231E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E82
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E82#FFFFFF#000000##FFFFFF
##231E821.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003485
Deuteranopia (green-blind)
#002B80
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #231e82;
/* rgb */ color: rgb(35, 30, 130);
/* oklch */ color: oklch(32.3% 0.159 274.9);
Tailwind
colors: {
  custom: {
    50: '#6e5ba7',
    500: '#231e82',
    950: '#000000',
  },
}
SCSS
$custom: #231e82;
$custom-light: #6e5ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#231e82",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 243,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32265,
    "c": 0.15922,
    "h": 274.9
  },
  "luminance": 0.02898
}

Semantic roles & 50–950 ramp

primary
#231E82
secondary
#AFB547
accent
#E642DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #231E82

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

Preview Lab → · Contrast checker → · Palette generator →

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