#231E87#231E87

#231E87 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.166 H 274.4°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#231E87
RGBrgb(35, 30, 135)
HSLhsl(243, 64%, 32%)
HSVhsv(243, 78%, 53%)
CMYKcmyk(74.1%, 77.8%, 0%, 47.1%)
CIE-LABlab(20.18, 37.78, -57.09)
CIE-LCHlch(20.18, 68.46, 303.49°)
OKLaboklab(32.82% 0.0126 -0.1651)
OKLCHoklch(32.82% 0.166 274.4)
XYZxyz(5.5291, 3.0346, 23.2113)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E87 #82871E
analogous
#1E4E87 #231E87 #571E87
triadic
#231E87 #87231E #1E8723
tetradic
#231E87 #871E4E #82871E #1E8757
square
#231E87 #871E4E #82871E #1E8757
split-complementary
#231E87 #87571E #4E871E
monochromatic
#090823 #161355 #231E87 #3029B9 #5049D7

Accessibility & contrast

On white

13.07
#231E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#231E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E87
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E87#FFFFFF#000000##FFFFFF
##231E871.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358A
Deuteranopia (green-blind)
#002C85
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #231e87;
/* rgb */ color: rgb(35, 30, 135);
/* oklch */ color: oklch(32.8% 0.166 274.4);
Tailwind
colors: {
  custom: {
    50: '#6f5cab',
    500: '#231e87',
    950: '#000000',
  },
}
SCSS
$custom: #231e87;
$custom-light: #6f5cab;
$custom-dark: #000000;
JSON
{
  "hex": "#231e87",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 242.857,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32822,
    "c": 0.16561,
    "h": 274.4
  },
  "luminance": 0.03035
}

Semantic roles & 50–950 ramp

primary
#231E87
secondary
#B3B948
accent
#E741DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #231E87

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

Preview Lab → · Contrast checker → · Palette generator →

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