#231E97#231E97

#231E97 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.6% C 0.185 H 272.8°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#231E97
RGBrgb(35, 30, 151)
HSLhsl(242, 67%, 35%)
HSVhsv(242, 80%, 59%)
CMYKcmyk(76.8%, 80.1%, 0%, 40.8%)
CIE-LABlab(22.01, 43.11, -64.01)
CIE-LCHlch(22.01, 77.18, 303.96°)
OKLaboklab(34.65% 0.009 -0.1852)
OKLCHoklch(34.65% 0.185 272.8)
XYZxyz(6.7415, 3.5195, 29.5962)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E97 #92971E
analogous
#1E5697 #231E97 #5F1E97
triadic
#231E97 #97231E #1E9723
tetradic
#231E97 #971E56 #92971E #1E975F
square
#231E97 #971E56 #92971E #1E975F
split-complementary
#231E97 #975F1E #56971E
monochromatic
#0B0A31 #171464 #231E97 #2F28CA #5853DD

Accessibility & contrast

On white

12.32
#231E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#231E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E97
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E97#FFFFFF#000000##FFFFFF
##231E971.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9A
Deuteranopia (green-blind)
#002F95
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #231e97;
/* rgb */ color: rgb(35, 30, 151);
/* oklch */ color: oklch(34.6% 0.185 272.8);
Tailwind
colors: {
  custom: {
    50: '#735db7',
    500: '#231e97',
    950: '#000000',
  },
}
SCSS
$custom: #231e97;
$custom-light: #735db7;
$custom-dark: #000000;
JSON
{
  "hex": "#231e97",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 242.479,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34648,
    "c": 0.18546,
    "h": 272.8
  },
  "luminance": 0.0352
}

Semantic roles & 50–950 ramp

primary
#231E97
secondary
#BBC051
accent
#EA3EE3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #231E97

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

Preview Lab → · Contrast checker → · Palette generator →

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