#231D5E#231D5E

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

Color values

HEX#231D5E
RGBrgb(35, 29, 94)
HSLhsl(246, 53%, 24%)
HSVhsv(246, 69%, 37%)
CMYKcmyk(62.8%, 69.1%, 0%, 63.1%)
CIE-LABlab(15.72, 23.93, -37.94)
CIE-LCHlch(15.72, 44.86, 302.24°)
OKLaboklab(28.35% 0.0208 -0.1092)
OKLCHoklch(28.35% 0.111 280.8)
XYZxyz(3.1522, 2.0440, 10.8159)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D5E #585E1D
analogous
#1D385E #231D5E #441D5E
triadic
#231D5E #5E231D #1D5E23
tetradic
#231D5E #5E1D38 #585E1D #1D5E44
square
#231D5E #5E1D38 #585E1D #1D5E44
split-complementary
#231D5E #5E441D #385E1D
monochromatic
#090717 #120F2F #231D5E #342B8D #463ABC

Accessibility & contrast

On white

14.91
#231D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231D5E
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D5E#FFFFFF#000000##FFFFFF
##231D5E1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A60
Deuteranopia (green-blind)
#00255D
Tritanopia (blue-blind)
#002D3A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #231d5e;
/* rgb */ color: rgb(35, 29, 94);
/* oklch */ color: oklch(28.3% 0.111 280.8);
Tailwind
colors: {
  custom: {
    50: '#65598c',
    500: '#231d5e',
    950: '#000000',
  },
}
SCSS
$custom: #231d5e;
$custom-light: #65598c;
$custom-dark: #000000;
JSON
{
  "hex": "#231d5e",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 94
  },
  "hsl": {
    "h": 245.538,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28346,
    "c": 0.11112,
    "h": 280.8
  },
  "luminance": 0.02044
}

Semantic roles & 50–950 ramp

primary
#231D5E
secondary
#8C9344
accent
#DC4CCF
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #231D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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