#231C5E#231C5E

#231C5E is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.2% C 0.113 H 281.2°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#231C5E
RGBrgb(35, 28, 94)
HSLhsl(246, 54%, 24%)
HSVhsv(246, 70%, 37%)
CMYKcmyk(62.8%, 70.2%, 0%, 63.1%)
CIE-LABlab(15.47, 24.61, -38.35)
CIE-LCHlch(15.47, 45.57, 302.68°)
OKLaboklab(28.16% 0.0218 -0.1104)
OKLCHoklch(28.16% 0.113 281.2)
XYZxyz(3.1281, 1.9958, 10.8079)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C5E #575E1C
analogous
#1C365E #231C5E #441C5E
triadic
#231C5E #5E231C #1C5E23
tetradic
#231C5E #5E1C36 #575E1C #1C5E44
square
#231C5E #5E1C36 #575E1C #1C5E44
split-complementary
#231C5E #5E441C #365E1C
monochromatic
#090718 #110E2F #231C5E #352A8D #4638BC

Accessibility & contrast

On white

15.01
#231C5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#231C5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C5E
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C5E#FFFFFF#000000##FFFFFF
##231C5E1.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002960
Deuteranopia (green-blind)
#00245D
Tritanopia (blue-blind)
#012D3A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #231c5e;
/* rgb */ color: rgb(35, 28, 94);
/* oklch */ color: oklch(28.2% 0.113 281.2);
Tailwind
colors: {
  custom: {
    50: '#65598c',
    500: '#231c5e',
    950: '#000000',
  },
}
SCSS
$custom: #231c5e;
$custom-light: #65598c;
$custom-dark: #000000;
JSON
{
  "hex": "#231c5e",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 94
  },
  "hsl": {
    "h": 246.364,
    "s": 54.098,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28163,
    "c": 0.1125,
    "h": 281.2
  },
  "luminance": 0.01996
}

Semantic roles & 50–950 ramp

primary
#231C5E
secondary
#8B9342
accent
#DD4ACE
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #231C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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