#231D7D#231D7D

#231D7D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.154 H 275.7°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#231D7D
RGBrgb(35, 29, 125)
HSLhsl(244, 62%, 30%)
HSVhsv(244, 77%, 49%)
CMYKcmyk(72%, 76.8%, 0%, 51%)
CIE-LABlab(18.87, 34.94, -52.94)
CIE-LCHlch(18.87, 63.43, 303.42°)
OKLaboklab(31.57% 0.0154 -0.153)
OKLCHoklch(31.57% 0.154 275.7)
XYZxyz(4.8330, 2.7163, 19.6677)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D7D #777D1D
analogous
#1D477D #231D7D #531D7D
triadic
#231D7D #7D231D #1D7D23
tetradic
#231D7D #7D1D47 #777D1D #1D7D53
square
#231D7D #7D1D47 #777D1D #1D7D53
split-complementary
#231D7D #7D531D #477D1D
monochromatic
#07061A #15114B #231D7D #3129AF #4A41D3

Accessibility & contrast

On white

13.61
#231D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#231D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D7D
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D7D#FFFFFF#000000##FFFFFF
##231D7D1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#002A7B
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #231d7d;
/* rgb */ color: rgb(35, 29, 125);
/* oklch */ color: oklch(31.6% 0.154 275.7);
Tailwind
colors: {
  custom: {
    50: '#6d5ba4',
    500: '#231d7d',
    950: '#000000',
  },
}
SCSS
$custom: #231d7d;
$custom-light: #6d5ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#231d7d",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 243.75,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31565,
    "c": 0.15379,
    "h": 275.7
  },
  "luminance": 0.02717
}

Semantic roles & 50–950 ramp

primary
#231D7D
secondary
#AAB145
accent
#E542DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #231D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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