#231C8B#231C8B

#231C8B is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.173 H 274.2°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#231C8B
RGBrgb(35, 28, 139)
HSLhsl(244, 66%, 33%)
HSVhsv(244, 80%, 55%)
CMYKcmyk(74.8%, 79.9%, 0%, 45.5%)
CIE-LABlab(20.25, 40.23, -59.49)
CIE-LCHlch(20.25, 71.82, 304.07°)
OKLaboklab(33% 0.0127 -0.1721)
OKLCHoklch(33% 0.173 274.2)
XYZxyz(5.7670, 3.0513, 24.7061)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C8B #848B1C
analogous
#1C4C8B #231C8B #5B1C8B
triadic
#231C8B #8B231C #1C8B23
tetradic
#231C8B #8B1C4C #848B1C #1C8B5B
square
#231C8B #8B1C4C #848B1C #1C8B5B
split-complementary
#231C8B #8B5B1C #4C8B1C
monochromatic
#090725 #161258 #231C8B #3026BE #5147DA

Accessibility & contrast

On white

13.04
#231C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#231C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C8B
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C8B#FFFFFF#000000##FFFFFF
##231C8B1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368E
Deuteranopia (green-blind)
#002C89
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #231c8b;
/* rgb */ color: rgb(35, 28, 139);
/* oklch */ color: oklch(33.0% 0.173 274.2);
Tailwind
colors: {
  custom: {
    50: '#705bae',
    500: '#231c8b',
    950: '#000000',
  },
}
SCSS
$custom: #231c8b;
$custom-light: #705bae;
$custom-dark: #000000;
JSON
{
  "hex": "#231c8b",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 243.784,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33003,
    "c": 0.17254,
    "h": 274.2
  },
  "luminance": 0.03052
}

Semantic roles & 50–950 ramp

primary
#231C8B
secondary
#B4BC47
accent
#E93EDF
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #231C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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