#231C94#231C94

#231C94 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.0% C 0.184 H 273.3°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#231C94
RGBrgb(35, 28, 148)
HSLhsl(244, 68%, 35%)
HSVhsv(244, 81%, 58%)
CMYKcmyk(76.4%, 81.1%, 0%, 42%)
CIE-LABlab(21.30, 43.18, -63.34)
CIE-LCHlch(21.30, 76.66, 304.28°)
OKLaboklab(34.05% 0.0104 -0.1833)
OKLCHoklch(34.05% 0.184 273.3)
XYZxyz(6.4519, 3.3253, 28.3130)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C94 #8D941C
analogous
#1C5194 #231C94 #5F1C94
triadic
#231C94 #94231C #1C9423
tetradic
#231C94 #941C51 #8D941C #1C945F
square
#231C94 #941C51 #8D941C #1C945F
split-complementary
#231C94 #945F1C #51941C
monochromatic
#0B092D #171261 #231C94 #2F26C7 #554DDD

Accessibility & contrast

On white

12.61
#231C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231C94
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C94#FFFFFF#000000##FFFFFF
##231C941.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231c94;
/* rgb */ color: rgb(35, 28, 148);
/* oklch */ color: oklch(34.0% 0.184 273.3);
Tailwind
colors: {
  custom: {
    50: '#725bb5',
    500: '#231c94',
    950: '#000000',
  },
}
SCSS
$custom: #231c94;
$custom-light: #725bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#231c94",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 148
  },
  "hsl": {
    "h": 243.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34047,
    "c": 0.18356,
    "h": 273.3
  },
  "luminance": 0.03326
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231C94

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

Preview Lab → · Contrast checker → · Palette generator →

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