#231E9A#231E9A

#231E9A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.0% C 0.189 H 272.5°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#231E9A
RGBrgb(35, 30, 154)
HSLhsl(242, 67%, 36%)
HSVhsv(242, 81%, 60%)
CMYKcmyk(77.3%, 80.5%, 0%, 39.6%)
CIE-LABlab(22.37, 44.09, -65.27)
CIE-LCHlch(22.37, 78.77, 304.04°)
OKLaboklab(35% 0.0083 -0.1889)
OKLCHoklch(35% 0.189 272.5)
XYZxyz(6.9882, 3.6182, 30.8957)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E9A #959A1E
analogous
#1E579A #231E9A #611E9A
triadic
#231E9A #9A231E #1E9A23
tetradic
#231E9A #9A1E57 #959A1E #1E9A61
square
#231E9A #9A1E57 #959A1E #1E9A61
split-complementary
#231E9A #9A611E #579A1E
monochromatic
#0C0A34 #171467 #231E9A #2F28CD #5A55DE

Accessibility & contrast

On white

12.18
#231E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#231E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E9A
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E9A#FFFFFF#000000##FFFFFF
##231E9A1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9D
Deuteranopia (green-blind)
#002F98
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #231e9a;
/* rgb */ color: rgb(35, 30, 154);
/* oklch */ color: oklch(35.0% 0.189 272.5);
Tailwind
colors: {
  custom: {
    50: '#745db9',
    500: '#231e9a',
    950: '#000000',
  },
}
SCSS
$custom: #231e9a;
$custom-light: #745db9;
$custom-dark: #000000;
JSON
{
  "hex": "#231e9a",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 154
  },
  "hsl": {
    "h": 242.419,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.34996,
    "c": 0.18908,
    "h": 272.5
  },
  "luminance": 0.03619
}

Semantic roles & 50–950 ramp

primary
#231E9A
secondary
#BDC153
accent
#EA3EE3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #231E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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