#231E94#231E94

#231E94 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.3% C 0.182 H 273.1°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#231E94
RGBrgb(35, 30, 148)
HSLhsl(243, 66%, 35%)
HSVhsv(243, 80%, 58%)
CMYKcmyk(76.4%, 79.7%, 0%, 42%)
CIE-LABlab(21.67, 42.13, -62.74)
CIE-LCHlch(21.67, 75.57, 303.88°)
OKLaboklab(34.3% 0.0097 -0.1815)
OKLCHoklch(34.3% 0.182 273.1)
XYZxyz(6.5009, 3.4233, 28.3294)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E94 #8F941E
analogous
#1E5494 #231E94 #5E1E94
triadic
#231E94 #94231E #1E9423
tetradic
#231E94 #941E54 #8F941E #1E945E
square
#231E94 #941E54 #8F941E #1E945E
split-complementary
#231E94 #945E1E #54941E
monochromatic
#0B092E #171461 #231E94 #2F28C7 #5751DC

Accessibility & contrast

On white

12.46
#231E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231E94
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E94#FFFFFF#000000##FFFFFF
##231E941.0012.461.6812.46
#FFFFFF12.461.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003997
Deuteranopia (green-blind)
#002E92
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #231e94;
/* rgb */ color: rgb(35, 30, 148);
/* oklch */ color: oklch(34.3% 0.182 273.1);
Tailwind
colors: {
  custom: {
    50: '#725db5',
    500: '#231e94',
    950: '#000000',
  },
}
SCSS
$custom: #231e94;
$custom-light: #725db5;
$custom-dark: #000000;
JSON
{
  "hex": "#231e94",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 148
  },
  "hsl": {
    "h": 242.542,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34301,
    "c": 0.1818,
    "h": 273.1
  },
  "luminance": 0.03424
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231E94

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

Preview Lab → · Contrast checker → · Palette generator →

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