#231D5F#231D5F

#231D5F is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.4% C 0.113 H 280.6°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#231D5F
RGBrgb(35, 29, 95)
HSLhsl(245, 53%, 24%)
HSVhsv(245, 69%, 37%)
CMYKcmyk(63.2%, 69.5%, 0%, 62.7%)
CIE-LABlab(15.81, 24.30, -38.46)
CIE-LCHlch(15.81, 45.49, 302.28°)
OKLaboklab(28.44% 0.0207 -0.1107)
OKLCHoklch(28.44% 0.113 280.6)
XYZxyz(3.1974, 2.0621, 11.0538)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D5F #595F1D
analogous
#1D385F #231D5F #441D5F
triadic
#231D5F #5F231D #1D5F23
tetradic
#231D5F #5F1D38 #595F1D #1D5F44
square
#231D5F #5F1D38 #595F1D #1D5F44
split-complementary
#231D5F #5F441D #385F1D
monochromatic
#090717 #120F30 #231D5F #342B8E #463ABD

Accessibility & contrast

On white

14.87
#231D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231D5F
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D5F#FFFFFF#000000##FFFFFF
##231D5F1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#00255E
Tritanopia (blue-blind)
#002E3B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #231d5f;
/* rgb */ color: rgb(35, 29, 95);
/* oklch */ color: oklch(28.4% 0.113 280.6);
Tailwind
colors: {
  custom: {
    50: '#66598d',
    500: '#231d5f',
    950: '#000000',
  },
}
SCSS
$custom: #231d5f;
$custom-light: #66598d;
$custom-dark: #000000;
JSON
{
  "hex": "#231d5f",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 95
  },
  "hsl": {
    "h": 245.455,
    "s": 53.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28442,
    "c": 0.11258,
    "h": 280.6
  },
  "luminance": 0.02062
}

Semantic roles & 50–950 ramp

primary
#231D5F
secondary
#8D9444
accent
#DD4BCF
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #231D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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