#231C95#231C95

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

Color values

HEX#231C95
RGBrgb(35, 28, 149)
HSLhsl(243, 68%, 35%)
HSVhsv(243, 81%, 58%)
CMYKcmyk(76.5%, 81.2%, 0%, 41.6%)
CIE-LABlab(21.42, 43.50, -63.76)
CIE-LCHlch(21.42, 77.19, 304.30°)
OKLaboklab(34.16% 0.0102 -0.1845)
OKLCHoklch(34.16% 0.185 273.2)
XYZxyz(6.5314, 3.3571, 28.7317)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C95 #8E951C
analogous
#1C5295 #231C95 #601C95
triadic
#231C95 #95231C #1C9523
tetradic
#231C95 #951C52 #8E951C #1C9560
square
#231C95 #951C52 #8E951C #1C9560
split-complementary
#231C95 #95601C #52951C
monochromatic
#0B092E #171261 #231C95 #2F26C9 #564EDE

Accessibility & contrast

On white

12.56
#231C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231C95
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C95#FFFFFF#000000##FFFFFF
##231C951.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003998
Deuteranopia (green-blind)
#002D93
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #231c95;
/* rgb */ color: rgb(35, 28, 149);
/* oklch */ color: oklch(34.2% 0.185 273.2);
Tailwind
colors: {
  custom: {
    50: '#735bb5',
    500: '#231c95',
    950: '#000000',
  },
}
SCSS
$custom: #231c95;
$custom-light: #735bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#231c95",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 243.471,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34164,
    "c": 0.18476,
    "h": 273.2
  },
  "luminance": 0.03358
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231C95

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

Preview Lab → · Contrast checker → · Palette generator →

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