#231C85#231C85

#231C85 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.165 H 274.9°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#231C85
RGBrgb(35, 28, 133)
HSLhsl(244, 65%, 32%)
HSVhsv(244, 79%, 52%)
CMYKcmyk(73.7%, 78.9%, 0%, 47.8%)
CIE-LABlab(19.56, 38.23, -56.86)
CIE-LCHlch(19.56, 68.52, 303.92°)
OKLaboklab(32.32% 0.0141 -0.1644)
OKLCHoklch(32.32% 0.165 274.9)
XYZxyz(5.3406, 2.8808, 22.4603)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C85 #7E851C
analogous
#1C4A85 #231C85 #581C85
triadic
#231C85 #85231C #1C8523
tetradic
#231C85 #851C4A #7E851C #1C8558
square
#231C85 #851C4A #7E851C #1C8558
split-complementary
#231C85 #85581C #4A851C
monochromatic
#080720 #161152 #231C85 #3027B8 #4E44D8

Accessibility & contrast

On white

13.32
#231C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#231C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C85
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C85#FFFFFF#000000##FFFFFF
##231C851.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002A83
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #231c85;
/* rgb */ color: rgb(35, 28, 133);
/* oklch */ color: oklch(32.3% 0.165 274.9);
Tailwind
colors: {
  custom: {
    50: '#6f5aaa',
    500: '#231c85',
    950: '#000000',
  },
}
SCSS
$custom: #231c85;
$custom-light: #6f5aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#231c85",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 244,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32317,
    "c": 0.16504,
    "h": 274.9
  },
  "luminance": 0.02881
}

Semantic roles & 50–950 ramp

primary
#231C85
secondary
#B0B845
accent
#E840DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #231C85

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

Preview Lab → · Contrast checker → · Palette generator →

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