#231D56#231D56

#231D56 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.6% C 0.099 H 282.5°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#231D56
RGBrgb(35, 29, 86)
HSLhsl(246, 50%, 23%)
HSVhsv(246, 66%, 34%)
CMYKcmyk(59.3%, 66.3%, 0%, 66.3%)
CIE-LABlab(15.00, 21.03, -33.75)
CIE-LCHlch(15.00, 39.77, 301.93°)
OKLaboklab(27.59% 0.0215 -0.0968)
OKLCHoklch(27.59% 0.099 282.5)
XYZxyz(2.8117, 1.9078, 9.0224)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D56 #50561D
analogous
#1D3356 #231D56 #401D56
triadic
#231D56 #56231D #1D5623
tetradic
#231D56 #561D33 #50561D #1D5640
square
#231D56 #561D33 #50561D #1D5640
split-complementary
#231D56 #56401D #33561D
monochromatic
#090817 #100E28 #231D56 #362C84 #483CB2

Accessibility & contrast

On white

15.20
#231D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#231D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D56
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D56#FFFFFF#000000##FFFFFF
##231D561.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002858
Deuteranopia (green-blind)
#002455
Tritanopia (blue-blind)
#0C2B36
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #231d56;
/* rgb */ color: rgb(35, 29, 86);
/* oklch */ color: oklch(27.6% 0.099 282.5);
Tailwind
colors: {
  custom: {
    50: '#645986',
    500: '#231d56',
    950: '#000000',
  },
}
SCSS
$custom: #231d56;
$custom-light: #645986;
$custom-dark: #000000;
JSON
{
  "hex": "#231d56",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 86
  },
  "hsl": {
    "h": 246.316,
    "s": 49.565,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27594,
    "c": 0.0992,
    "h": 282.5
  },
  "luminance": 0.01908
}

Semantic roles & 50–950 ramp

primary
#231D56
secondary
#848B44
accent
#D94FCB
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #231D56

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

Preview Lab → · Contrast checker → · Palette generator →

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