#231E8D#231E8D

#231E8D is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.173 H 273.7°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#231E8D
RGBrgb(35, 30, 141)
HSLhsl(243, 65%, 34%)
HSVhsv(243, 79%, 55%)
CMYKcmyk(75.2%, 78.7%, 0%, 44.7%)
CIE-LABlab(20.86, 39.80, -59.73)
CIE-LCHlch(20.86, 71.77, 303.68°)
OKLaboklab(33.5% 0.0113 -0.1728)
OKLCHoklch(33.5% 0.173 273.7)
XYZxyz(5.9635, 3.2084, 25.4991)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E8D #888D1E
analogous
#1E508D #231E8D #5A1E8D
triadic
#231E8D #8D231E #1E8D23
tetradic
#231E8D #8D1E50 #888D1E #1E8D5A
square
#231E8D #8D1E50 #888D1E #1E8D5A
split-complementary
#231E8D #8D5A1E #508D1E
monochromatic
#0A0928 #16135B #231E8D #3029BF #534CD9

Accessibility & contrast

On white

12.79
#231E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#231E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E8D
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E8D#FFFFFF#000000##FFFFFF
##231E8D1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003790
Deuteranopia (green-blind)
#002D8B
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #231e8d;
/* rgb */ color: rgb(35, 30, 141);
/* oklch */ color: oklch(33.5% 0.173 273.7);
Tailwind
colors: {
  custom: {
    50: '#715cb0',
    500: '#231e8d',
    950: '#000000',
  },
}
SCSS
$custom: #231e8d;
$custom-light: #715cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#231e8d",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 242.703,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.335,
    "c": 0.17316,
    "h": 273.7
  },
  "luminance": 0.03209
}

Semantic roles & 50–950 ramp

primary
#231E8D
secondary
#B7BC4B
accent
#E840E0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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