#231E9E#231E9E

#231E9E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.194 H 272.2°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#231E9E
RGBrgb(35, 30, 158)
HSLhsl(242, 68%, 37%)
HSVhsv(242, 81%, 62%)
CMYKcmyk(77.8%, 81%, 0%, 38%)
CIE-LABlab(22.84, 45.38, -66.94)
CIE-LCHlch(22.84, 80.87, 304.14°)
OKLaboklab(35.46% 0.0074 -0.1937)
OKLCHoklch(35.46% 0.194 272.2)
XYZxyz(7.3269, 3.7537, 32.6795)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E9E #999E1E
analogous
#1E599E #231E9E #631E9E
triadic
#231E9E #9E231E #1E9E23
tetradic
#231E9E #9E1E59 #999E1E #1E9E63
square
#231E9E #9E1E59 #999E1E #1E9E63
split-complementary
#231E9E #9E631E #599E1E
monochromatic
#0C0A37 #18146B #231E9E #2E28D1 #5D57DF

Accessibility & contrast

On white

11.99
#231E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#231E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E9E
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E9E#FFFFFF#000000##FFFFFF
##231E9E1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00309C
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #231e9e;
/* rgb */ color: rgb(35, 30, 158);
/* oklch */ color: oklch(35.5% 0.194 272.2);
Tailwind
colors: {
  custom: {
    50: '#755dbc',
    500: '#231e9e',
    950: '#000000',
  },
}
SCSS
$custom: #231e9e;
$custom-light: #755dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#231e9e",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 242.344,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35464,
    "c": 0.19387,
    "h": 272.2
  },
  "luminance": 0.03754
}

Semantic roles & 50–950 ramp

primary
#231E9E
secondary
#BEC355
accent
#EB3DE4
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #231E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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