#231C8E#231C8E

#231C8E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.176 H 273.9°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#231C8E
RGBrgb(35, 28, 142)
HSLhsl(244, 67%, 33%)
HSVhsv(244, 80%, 56%)
CMYKcmyk(75.4%, 80.3%, 0%, 44.3%)
CIE-LABlab(20.60, 41.22, -60.78)
CIE-LCHlch(20.60, 73.44, 304.14°)
OKLaboklab(33.35% 0.0119 -0.1758)
OKLCHoklch(33.35% 0.176 273.9)
XYZxyz(5.9893, 3.1402, 25.8764)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C8E #878E1C
analogous
#1C4E8E #231C8E #5C1C8E
triadic
#231C8E #8E231C #1C8E23
tetradic
#231C8E #8E1C4E #878E1C #1C8E5C
square
#231C8E #8E1C4E #878E1C #1C8E5C
split-complementary
#231C8E #8E5C1C #4E8E1C
monochromatic
#0A0828 #16125B #231C8E #3026C1 #5249DB

Accessibility & contrast

On white

12.90
#231C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#231C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C8E
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C8E#FFFFFF#000000##FFFFFF
##231C8E1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003791
Deuteranopia (green-blind)
#002C8C
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #231c8e;
/* rgb */ color: rgb(35, 28, 142);
/* oklch */ color: oklch(33.3% 0.176 273.9);
Tailwind
colors: {
  custom: {
    50: '#715bb0',
    500: '#231c8e',
    950: '#000000',
  },
}
SCSS
$custom: #231c8e;
$custom-light: #715bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#231c8e",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 243.684,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33349,
    "c": 0.17624,
    "h": 273.9
  },
  "luminance": 0.03141
}

Semantic roles & 50–950 ramp

primary
#231C8E
secondary
#B6BD49
accent
#EA3EDF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #231C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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