#231D5C#231D5C

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

Color values

HEX#231D5C
RGBrgb(35, 29, 92)
HSLhsl(246, 52%, 24%)
HSVhsv(246, 68%, 36%)
CMYKcmyk(62%, 68.5%, 0%, 63.9%)
CIE-LABlab(15.53, 23.21, -36.91)
CIE-LCHlch(15.53, 43.60, 302.16°)
OKLaboklab(28.15% 0.021 -0.1061)
OKLCHoklch(28.15% 0.108 281.2)
XYZxyz(3.0637, 2.0086, 10.3494)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D5C #565C1D
analogous
#1D365C #231D5C #421D5C
triadic
#231D5C #5C231D #1D5C23
tetradic
#231D5C #5C1D36 #565C1D #1D5C42
square
#231D5C #5C1D36 #565C1D #1D5C42
split-complementary
#231D5C #5C421D #365C1D
monochromatic
#090717 #110E2D #231D5C #352C8B #463AB9

Accessibility & contrast

On white

14.98
#231D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231D5C
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D5C#FFFFFF#000000##FFFFFF
##231D5C1.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295E
Deuteranopia (green-blind)
#00245B
Tritanopia (blue-blind)
#032D39
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #231d5c;
/* rgb */ color: rgb(35, 29, 92);
/* oklch */ color: oklch(28.2% 0.108 281.2);
Tailwind
colors: {
  custom: {
    50: '#65598b',
    500: '#231d5c',
    950: '#000000',
  },
}
SCSS
$custom: #231d5c;
$custom-light: #65598b;
$custom-dark: #000000;
JSON
{
  "hex": "#231d5c",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 92
  },
  "hsl": {
    "h": 245.714,
    "s": 52.066,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28154,
    "c": 0.10818,
    "h": 281.2
  },
  "luminance": 0.02009
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #231D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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