#231D58#231D58

#231D58 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.8% C 0.102 H 282.0°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#231D58
RGBrgb(35, 29, 88)
HSLhsl(246, 50%, 23%)
HSVhsv(246, 67%, 35%)
CMYKcmyk(60.2%, 67%, 0%, 65.5%)
CIE-LABlab(15.17, 21.76, -34.81)
CIE-LCHlch(15.17, 41.05, 302.01°)
OKLaboklab(27.78% 0.0213 -0.1)
OKLCHoklch(27.78% 0.102 282)
XYZxyz(2.8934, 1.9405, 9.4527)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D58 #52581D
analogous
#1D3458 #231D58 #401D58
triadic
#231D58 #58231D #1D5823
tetradic
#231D58 #581D34 #52581D #1D5840
square
#231D58 #581D34 #52581D #1D5840
split-complementary
#231D58 #58401D #34581D
monochromatic
#090817 #110E2A #231D58 #352C86 #483BB4

Accessibility & contrast

On white

15.13
#231D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#231D58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D58
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D58#FFFFFF#000000##FFFFFF
##231D581.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285A
Deuteranopia (green-blind)
#002457
Tritanopia (blue-blind)
#092B37
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #231d58;
/* rgb */ color: rgb(35, 29, 88);
/* oklch */ color: oklch(27.8% 0.102 282.0);
Tailwind
colors: {
  custom: {
    50: '#645988',
    500: '#231d58',
    950: '#000000',
  },
}
SCSS
$custom: #231d58;
$custom-light: #645988;
$custom-dark: #000000;
JSON
{
  "hex": "#231d58",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 88
  },
  "hsl": {
    "h": 246.102,
    "s": 50.427,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27778,
    "c": 0.10222,
    "h": 282
  },
  "luminance": 0.01941
}

Semantic roles & 50–950 ramp

primary
#231D58
secondary
#868D44
accent
#DA4ECC
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030B
muted
#7A787C

Preview Lab

Preview with #231D58

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

Preview Lab → · Contrast checker → · Palette generator →

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