#231C9D#231C9D

#231C9D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.1% C 0.194 H 272.4°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#231C9D
RGBrgb(35, 28, 157)
HSLhsl(243, 70%, 36%)
HSVhsv(243, 82%, 62%)
CMYKcmyk(77.7%, 82.2%, 0%, 38.4%)
CIE-LABlab(22.38, 46.06, -67.10)
CIE-LCHlch(22.38, 81.38, 304.47°)
OKLaboklab(35.11% 0.0082 -0.1941)
OKLCHoklch(35.11% 0.194 272.4)
XYZxyz(7.1922, 3.6214, 32.2117)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C9D #969D1C
analogous
#1C569D #231C9D #641C9D
triadic
#231C9D #9D231C #1C9D23
tetradic
#231C9D #9D1C56 #969D1C #1C9D64
square
#231C9D #9D1C56 #969D1C #1C9D64
split-complementary
#231C9D #9D641C #569D1C
monochromatic
#0C0935 #171369 #231C9D #2F25D1 #5B53E0

Accessibility & contrast

On white

12.18
#231C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#231C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C9D
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C9D#FFFFFF#000000##FFFFFF
##231C9D1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA1
Deuteranopia (green-blind)
#002F9B
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #231c9d;
/* rgb */ color: rgb(35, 28, 157);
/* oklch */ color: oklch(35.1% 0.194 272.4);
Tailwind
colors: {
  custom: {
    50: '#755cbb',
    500: '#231c9d',
    950: '#000000',
  },
}
SCSS
$custom: #231c9d;
$custom-light: #755cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#231c9d",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 243.256,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35108,
    "c": 0.19431,
    "h": 272.4
  },
  "luminance": 0.03622
}

Semantic roles & 50–950 ramp

primary
#231C9D
secondary
#BDC351
accent
#ED3BE3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #231C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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