#231C9F#231C9F

#231C9F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.3% C 0.197 H 272.3°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#231C9F
RGBrgb(35, 28, 159)
HSLhsl(243, 70%, 37%)
HSVhsv(243, 82%, 62%)
CMYKcmyk(78%, 82.4%, 0%, 37.6%)
CIE-LABlab(22.62, 46.69, -67.92)
CIE-LCHlch(22.62, 82.42, 304.51°)
OKLaboklab(35.35% 0.0078 -0.1965)
OKLCHoklch(35.35% 0.197 272.3)
XYZxyz(7.3643, 3.6902, 33.1183)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C9F #989F1C
analogous
#1C579F #231C9F #651C9F
triadic
#231C9F #9F231C #1C9F23
tetradic
#231C9F #9F1C57 #989F1C #1C9F65
square
#231C9F #9F1C57 #989F1C #1C9F65
split-complementary
#231C9F #9F651C #579F1C
monochromatic
#0C0A37 #18136B #231C9F #2E25D3 #5C54E1

Accessibility & contrast

On white

12.08
#231C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#231C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C9F
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C9F#FFFFFF#000000##FFFFFF
##231C9F1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#002F9D
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #231c9f;
/* rgb */ color: rgb(35, 28, 159);
/* oklch */ color: oklch(35.3% 0.197 272.3);
Tailwind
colors: {
  custom: {
    50: '#755cbd',
    500: '#231c9f',
    950: '#000000',
  },
}
SCSS
$custom: #231c9f;
$custom-light: #755cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#231c9f",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 243.206,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35345,
    "c": 0.19667,
    "h": 272.3
  },
  "luminance": 0.03691
}

Semantic roles & 50–950 ramp

primary
#231C9F
secondary
#BEC453
accent
#ED3BE3
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #231C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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