#231E9D#231E9D

#231E9D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.3% C 0.193 H 272.3°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#231E9D
RGBrgb(35, 30, 157)
HSLhsl(242, 68%, 37%)
HSVhsv(242, 81%, 62%)
CMYKcmyk(77.7%, 80.9%, 0%, 38.4%)
CIE-LABlab(22.72, 45.06, -66.53)
CIE-LCHlch(22.72, 80.35, 304.11°)
OKLaboklab(35.35% 0.0076 -0.1925)
OKLCHoklch(35.35% 0.193 272.3)
XYZxyz(7.2412, 3.7194, 32.2280)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E9D #989D1E
analogous
#1E599D #231E9D #631E9D
triadic
#231E9D #9D231E #1E9D23
tetradic
#231E9D #9D1E59 #989D1E #1E9D63
square
#231E9D #9D1E59 #989D1E #1E9D63
split-complementary
#231E9D #9D631E #599D1E
monochromatic
#0C0A36 #18146A #231E9D #2E28D0 #5C57DF

Accessibility & contrast

On white

12.04
#231E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#231E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E9D
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E9D#FFFFFF#000000##FFFFFF
##231E9D1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA1
Deuteranopia (green-blind)
#00309B
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #231e9d;
/* rgb */ color: rgb(35, 30, 157);
/* oklch */ color: oklch(35.3% 0.193 272.3);
Tailwind
colors: {
  custom: {
    50: '#755dbb',
    500: '#231e9d',
    950: '#000000',
  },
}
SCSS
$custom: #231e9d;
$custom-light: #755dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#231e9d",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 242.362,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35347,
    "c": 0.19268,
    "h": 272.3
  },
  "luminance": 0.0372
}

Semantic roles & 50–950 ramp

primary
#231E9D
secondary
#BEC254
accent
#EB3DE4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #231E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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