#231EA1#231EA1

#231EA1 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.197 H 271.9°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#231EA1
RGBrgb(35, 30, 161)
HSLhsl(242, 69%, 37%)
HSVhsv(242, 81%, 63%)
CMYKcmyk(78.3%, 81.4%, 0%, 36.9%)
CIE-LABlab(23.20, 46.34, -68.18)
CIE-LCHlch(23.20, 82.44, 304.21°)
OKLaboklab(35.82% 0.0067 -0.1973)
OKLCHoklch(35.82% 0.197 271.9)
XYZxyz(7.5883, 3.8582, 34.0561)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231EA1 #9CA11E
analogous
#1E5BA1 #231EA1 #641EA1
triadic
#231EA1 #A1231E #1EA123
tetradic
#231EA1 #A11E5B #9CA11E #1EA164
square
#231EA1 #A11E5B #9CA11E #1EA164
split-complementary
#231EA1 #A1641E #5BA11E
monochromatic
#0D0B3A #18146D #231EA1 #2E28D5 #5E59E0

Accessibility & contrast

On white

11.85
#231EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#231EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231EA1
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231EA1#FFFFFF#000000##FFFFFF
##231EA11.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00319F
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #231ea1;
/* rgb */ color: rgb(35, 30, 161);
/* oklch */ color: oklch(35.8% 0.197 271.9);
Tailwind
colors: {
  custom: {
    50: '#765dbe',
    500: '#231ea1',
    950: '#000000',
  },
}
SCSS
$custom: #231ea1;
$custom-light: #765dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#231ea1",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 242.29,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.35816,
    "c": 0.19743,
    "h": 271.9
  },
  "luminance": 0.03859
}

Semantic roles & 50–950 ramp

primary
#231EA1
secondary
#C0C457
accent
#EB3CE5
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #231EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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