#231C93#231C93

#231C93 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.9% C 0.182 H 273.4°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#231C93
RGBrgb(35, 28, 147)
HSLhsl(244, 68%, 34%)
HSVhsv(244, 81%, 58%)
CMYKcmyk(76.2%, 81%, 0%, 42.4%)
CIE-LABlab(21.18, 42.85, -62.92)
CIE-LCHlch(21.18, 76.13, 304.26°)
OKLaboklab(33.93% 0.0107 -0.182)
OKLCHoklch(33.93% 0.182 273.4)
XYZxyz(6.3731, 3.2938, 27.8980)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C93 #8C931C
analogous
#1C5193 #231C93 #5E1C93
triadic
#231C93 #93231C #1C9323
tetradic
#231C93 #931C51 #8C931C #1C935E
square
#231C93 #931C51 #8C931C #1C935E
split-complementary
#231C93 #935E1C #51931C
monochromatic
#0B082C #171260 #231C93 #2F26C6 #554CDD

Accessibility & contrast

On white

12.66
#231C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#231C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C93
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C93#FFFFFF#000000##FFFFFF
##231C931.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003896
Deuteranopia (green-blind)
#002D91
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #231c93;
/* rgb */ color: rgb(35, 28, 147);
/* oklch */ color: oklch(33.9% 0.182 273.4);
Tailwind
colors: {
  custom: {
    50: '#725bb4',
    500: '#231c93',
    950: '#000000',
  },
}
SCSS
$custom: #231c93;
$custom-light: #725bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#231c93",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 147
  },
  "hsl": {
    "h": 243.529,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3393,
    "c": 0.18234,
    "h": 273.4
  },
  "luminance": 0.03294
}

Semantic roles & 50–950 ramp

primary
#231C93
secondary
#B8BF4C
accent
#EB3DE1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231C93

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

Preview Lab → · Contrast checker → · Palette generator →

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