#231E95#231E95

#231E95 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.183 H 273.0°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#231E95
RGBrgb(35, 30, 149)
HSLhsl(243, 66%, 35%)
HSVhsv(243, 80%, 58%)
CMYKcmyk(76.5%, 79.9%, 0%, 41.6%)
CIE-LABlab(21.78, 42.46, -63.17)
CIE-LCHlch(21.78, 76.11, 303.91°)
OKLaboklab(34.42% 0.0095 -0.1828)
OKLCHoklch(34.42% 0.183 273)
XYZxyz(6.5804, 3.4551, 28.7480)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E95 #90951E
analogous
#1E5495 #231E95 #5E1E95
triadic
#231E95 #95231E #1E9523
tetradic
#231E95 #951E54 #90951E #1E955E
square
#231E95 #951E54 #90951E #1E955E
split-complementary
#231E95 #955E1E #54951E
monochromatic
#0B092F #171462 #231E95 #2F28C8 #5751DC

Accessibility & contrast

On white

12.42
#231E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#231E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E95
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E95#FFFFFF#000000##FFFFFF
##231E951.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A98
Deuteranopia (green-blind)
#002E93
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #231e95;
/* rgb */ color: rgb(35, 30, 149);
/* oklch */ color: oklch(34.4% 0.183 273.0);
Tailwind
colors: {
  custom: {
    50: '#735db5',
    500: '#231e95',
    950: '#000000',
  },
}
SCSS
$custom: #231e95;
$custom-light: #735db5;
$custom-dark: #000000;
JSON
{
  "hex": "#231e95",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 242.521,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34416,
    "c": 0.18303,
    "h": 273
  },
  "luminance": 0.03456
}

Semantic roles & 50–950 ramp

primary
#231E95
secondary
#BABF50
accent
#E93EE2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231E95

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

Preview Lab → · Contrast checker → · Palette generator →

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