#231D5D#231D5D

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

Color values

HEX#231D5D
RGBrgb(35, 29, 93)
HSLhsl(246, 52%, 24%)
HSVhsv(246, 69%, 36%)
CMYKcmyk(62.4%, 68.8%, 0%, 63.5%)
CIE-LABlab(15.62, 23.57, -37.43)
CIE-LCHlch(15.62, 44.23, 302.20°)
OKLaboklab(28.25% 0.0209 -0.1076)
OKLCHoklch(28.25% 0.11 281)
XYZxyz(3.1077, 2.0262, 10.5811)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D5D #575D1D
analogous
#1D375D #231D5D #431D5D
triadic
#231D5D #5D231D #1D5D23
tetradic
#231D5D #5D1D37 #575D1D #1D5D43
square
#231D5D #5D1D37 #575D1D #1D5D43
split-complementary
#231D5D #5D431D #375D1D
monochromatic
#090717 #110E2E #231D5D #352C8C #463ABA

Accessibility & contrast

On white

14.94
#231D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#231D5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D5D
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D5D#FFFFFF#000000##FFFFFF
##231D5D1.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295F
Deuteranopia (green-blind)
#00255C
Tritanopia (blue-blind)
#022D3A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #231d5d;
/* rgb */ color: rgb(35, 29, 93);
/* oklch */ color: oklch(28.2% 0.110 281.0);
Tailwind
colors: {
  custom: {
    50: '#65598c',
    500: '#231d5d',
    950: '#000000',
  },
}
SCSS
$custom: #231d5d;
$custom-light: #65598c;
$custom-dark: #000000;
JSON
{
  "hex": "#231d5d",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 93
  },
  "hsl": {
    "h": 245.625,
    "s": 52.459,
    "l": 23.922
  },
  "oklch": {
    "l": 0.2825,
    "c": 0.10965,
    "h": 281
  },
  "luminance": 0.02026
}

Semantic roles & 50–950 ramp

primary
#231D5D
secondary
#8B9244
accent
#DC4CCE
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #231D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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