#231C59#231C59

#231C59 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.7% C 0.105 H 282.3°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#231C59
RGBrgb(35, 28, 89)
HSLhsl(247, 52%, 23%)
HSVhsv(247, 69%, 35%)
CMYKcmyk(60.7%, 68.5%, 0%, 65.1%)
CIE-LABlab(15.00, 22.81, -35.76)
CIE-LCHlch(15.00, 42.42, 302.53°)
OKLaboklab(27.68% 0.0223 -0.1028)
OKLCHoklch(27.68% 0.105 282.3)
XYZxyz(2.9110, 1.9089, 9.6643)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C59 #52591C
analogous
#1C3359 #231C59 #411C59
triadic
#231C59 #59231C #1C5923
tetradic
#231C59 #591C33 #52591C #1C5941
square
#231C59 #591C33 #52591C #1C5941
split-complementary
#231C59 #59411C #33591C
monochromatic
#090717 #110D2A #231C59 #352B88 #4839B6

Accessibility & contrast

On white

15.20
#231C59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#231C59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C59
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C59#FFFFFF#000000##FFFFFF
##231C591.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285B
Deuteranopia (green-blind)
#002458
Tritanopia (blue-blind)
#082B37
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #231c59;
/* rgb */ color: rgb(35, 28, 89);
/* oklch */ color: oklch(27.7% 0.105 282.3);
Tailwind
colors: {
  custom: {
    50: '#645888',
    500: '#231c59',
    950: '#000000',
  },
}
SCSS
$custom: #231c59;
$custom-light: #645888;
$custom-dark: #000000;
JSON
{
  "hex": "#231c59",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 89
  },
  "hsl": {
    "h": 246.885,
    "s": 52.137,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27682,
    "c": 0.10516,
    "h": 282.3
  },
  "luminance": 0.01909
}

Semantic roles & 50–950 ramp

primary
#231C59
secondary
#868F42
accent
#DC4CCB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030B
muted
#7A787C

Preview Lab

Preview with #231C59

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

Preview Lab → · Contrast checker → · Palette generator →

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