#231D65#231D65

#231D65 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.0% C 0.121 H 279.4°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#231D65
RGBrgb(35, 29, 101)
HSLhsl(245, 55%, 25%)
HSVhsv(245, 71%, 40%)
CMYKcmyk(65.3%, 71.3%, 0%, 60.4%)
CIE-LABlab(16.38, 26.46, -41.49)
CIE-LCHlch(16.38, 49.21, 302.53°)
OKLaboklab(29.03% 0.0199 -0.1196)
OKLCHoklch(29.03% 0.121 279.4)
XYZxyz(3.4807, 2.1754, 12.5459)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D65 #5F651D
analogous
#1D3B65 #231D65 #471D65
triadic
#231D65 #65231D #1D6523
tetradic
#231D65 #651D3B #5F651D #1D6547
square
#231D65 #651D3B #5F651D #1D6547
split-complementary
#231D65 #65471D #3B651D
monochromatic
#080718 #130F35 #231D65 #332B95 #4438C4

Accessibility & contrast

On white

14.63
#231D65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#231D65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D65
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D65#FFFFFF#000000##FFFFFF
##231D651.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002664
Tritanopia (blue-blind)
#00303E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #231d65;
/* rgb */ color: rgb(35, 29, 101);
/* oklch */ color: oklch(29.0% 0.121 279.4);
Tailwind
colors: {
  custom: {
    50: '#675992',
    500: '#231d65',
    950: '#000000',
  },
}
SCSS
$custom: #231d65;
$custom-light: #675992;
$custom-dark: #000000;
JSON
{
  "hex": "#231d65",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 101
  },
  "hsl": {
    "h": 245,
    "s": 55.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29034,
    "c": 0.12121,
    "h": 279.4
  },
  "luminance": 0.02176
}

Semantic roles & 50–950 ramp

primary
#231D65
secondary
#939A44
accent
#DF49D2
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #231D65

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

Preview Lab → · Contrast checker → · Palette generator →

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