#231D94#231D94

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

Color values

HEX#231D94
RGBrgb(35, 29, 148)
HSLhsl(243, 67%, 35%)
HSVhsv(243, 80%, 58%)
CMYKcmyk(76.4%, 80.4%, 0%, 42%)
CIE-LABlab(21.48, 42.66, -63.04)
CIE-LCHlch(21.48, 76.12, 304.08°)
OKLaboklab(34.17% 0.0101 -0.1824)
OKLCHoklch(34.17% 0.183 273.2)
XYZxyz(6.4760, 3.3735, 28.3211)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D94 #8E941D
analogous
#1D5394 #231D94 #5E1D94
triadic
#231D94 #94231D #1D9423
tetradic
#231D94 #941D53 #8E941D #1D945E
square
#231D94 #941D53 #8E941D #1D945E
split-complementary
#231D94 #945E1D #53941D
monochromatic
#0B092E #171361 #231D94 #2F27C7 #564FDC

Accessibility & contrast

On white

12.54
#231D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#231D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D94
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D94#FFFFFF#000000##FFFFFF
##231D941.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231d94;
/* rgb */ color: rgb(35, 29, 148);
/* oklch */ color: oklch(34.2% 0.183 273.2);
Tailwind
colors: {
  custom: {
    50: '#725cb5',
    500: '#231d94',
    950: '#000000',
  },
}
SCSS
$custom: #231d94;
$custom-light: #725cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#231d94",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 243.025,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34173,
    "c": 0.18269,
    "h": 273.2
  },
  "luminance": 0.03374
}

Semantic roles & 50–950 ramp

primary
#231D94
secondary
#B9BF4E
accent
#EA3EE1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231D94

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

Preview Lab → · Contrast checker → · Palette generator →

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