#231E9B#231E9B

#231E9B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.190 H 272.4°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#231E9B
RGBrgb(35, 30, 155)
HSLhsl(242, 68%, 36%)
HSVhsv(242, 81%, 61%)
CMYKcmyk(77.4%, 80.6%, 0%, 39.2%)
CIE-LABlab(22.48, 44.41, -65.69)
CIE-LCHlch(22.48, 79.30, 304.06°)
OKLaboklab(35.11% 0.0081 -0.1901)
OKLCHoklch(35.11% 0.19 272.4)
XYZxyz(7.0718, 3.6517, 31.3361)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E9B #969B1E
analogous
#1E589B #231E9B #621E9B
triadic
#231E9B #9B231E #1E9B23
tetradic
#231E9B #9B1E58 #969B1E #1E9B62
square
#231E9B #9B1E58 #969B1E #1E9B62
split-complementary
#231E9B #9B621E #589B1E
monochromatic
#0C0A34 #171468 #231E9B #2F28CE #5B55DE

Accessibility & contrast

On white

12.14
#231E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#231E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E9B
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E9B#FFFFFF#000000##FFFFFF
##231E9B1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9E
Deuteranopia (green-blind)
#002F99
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #231e9b;
/* rgb */ color: rgb(35, 30, 155);
/* oklch */ color: oklch(35.1% 0.190 272.4);
Tailwind
colors: {
  custom: {
    50: '#745dba',
    500: '#231e9b',
    950: '#000000',
  },
}
SCSS
$custom: #231e9b;
$custom-light: #745dba;
$custom-dark: #000000;
JSON
{
  "hex": "#231e9b",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 242.4,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35113,
    "c": 0.19028,
    "h": 272.4
  },
  "luminance": 0.03652
}

Semantic roles & 50–950 ramp

primary
#231E9B
secondary
#BDC253
accent
#EA3DE4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #231E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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