#231E93#231E93

#231E93 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.181 H 273.2°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#231E93
RGBrgb(35, 30, 147)
HSLhsl(243, 66%, 35%)
HSVhsv(243, 80%, 58%)
CMYKcmyk(76.2%, 79.6%, 0%, 42.4%)
CIE-LABlab(21.55, 41.80, -62.31)
CIE-LCHlch(21.55, 75.03, 303.85°)
OKLaboklab(34.19% 0.0099 -0.1803)
OKLCHoklch(34.19% 0.181 273.2)
XYZxyz(6.4221, 3.3918, 27.9143)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E93 #8E931E
analogous
#1E5493 #231E93 #5E1E93
triadic
#231E93 #93231E #1E9323
tetradic
#231E93 #931E54 #8E931E #1E935E
square
#231E93 #931E54 #8E931E #1E935E
split-complementary
#231E93 #935E1E #54931E
monochromatic
#0B092D #171460 #231E93 #2F28C6 #5650DB

Accessibility & contrast

On white

12.51
#231E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#231E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E93
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E93#FFFFFF#000000##FFFFFF
##231E931.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003996
Deuteranopia (green-blind)
#002E91
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #231e93;
/* rgb */ color: rgb(35, 30, 147);
/* oklch */ color: oklch(34.2% 0.181 273.2);
Tailwind
colors: {
  custom: {
    50: '#725cb4',
    500: '#231e93',
    950: '#000000',
  },
}
SCSS
$custom: #231e93;
$custom-light: #725cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#231e93",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 147
  },
  "hsl": {
    "h": 242.564,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34186,
    "c": 0.18057,
    "h": 273.2
  },
  "luminance": 0.03392
}

Semantic roles & 50–950 ramp

primary
#231E93
secondary
#B9BE4F
accent
#E93FE2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231E93

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

Preview Lab → · Contrast checker → · Palette generator →

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