#231C5D#231C5D

#231C5D is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.1% C 0.111 H 281.4°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#231C5D
RGBrgb(35, 28, 93)
HSLhsl(246, 54%, 24%)
HSVhsv(246, 70%, 36%)
CMYKcmyk(62.4%, 69.9%, 0%, 63.5%)
CIE-LABlab(15.37, 24.25, -37.84)
CIE-LCHlch(15.37, 44.94, 302.65°)
OKLaboklab(28.07% 0.0219 -0.1089)
OKLCHoklch(28.07% 0.111 281.4)
XYZxyz(3.0836, 1.9779, 10.5731)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C5D #565D1C
analogous
#1C355D #231C5D #431C5D
triadic
#231C5D #5D231C #1C5D23
tetradic
#231C5D #5D1C35 #565D1C #1C5D43
square
#231C5D #5D1C35 #565D1C #1C5D43
split-complementary
#231C5D #5D431C #355D1C
monochromatic
#090718 #110E2E #231C5D #352A8C #4638BB

Accessibility & contrast

On white

15.05
#231C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231C5D
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C5D#FFFFFF#000000##FFFFFF
##231C5D1.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295F
Deuteranopia (green-blind)
#00245C
Tritanopia (blue-blind)
#022C39
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #231c5d;
/* rgb */ color: rgb(35, 28, 93);
/* oklch */ color: oklch(28.1% 0.111 281.4);
Tailwind
colors: {
  custom: {
    50: '#65588c',
    500: '#231c5d',
    950: '#000000',
  },
}
SCSS
$custom: #231c5d;
$custom-light: #65588c;
$custom-dark: #000000;
JSON
{
  "hex": "#231c5d",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 93
  },
  "hsl": {
    "h": 246.462,
    "s": 53.719,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28066,
    "c": 0.11104,
    "h": 281.4
  },
  "luminance": 0.01978
}

Semantic roles & 50–950 ramp

primary
#231C5D
secondary
#8A9242
accent
#DD4BCD
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #231C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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