#231D76#231D76

#231D76 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.145 H 276.7°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#231D76
RGBrgb(35, 29, 118)
HSLhsl(244, 61%, 29%)
HSVhsv(244, 75%, 46%)
CMYKcmyk(70.3%, 75.4%, 0%, 53.7%)
CIE-LABlab(18.12, 32.50, -49.70)
CIE-LCHlch(18.12, 59.39, 303.18°)
OKLaboklab(30.8% 0.0168 -0.1436)
OKLCHoklch(30.8% 0.145 276.7)
XYZxyz(4.4014, 2.5437, 17.3951)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D76 #70761D
analogous
#1D4476 #231D76 #501D76
triadic
#231D76 #76231D #1D7623
tetradic
#231D76 #761D44 #70761D #1D7650
square
#231D76 #761D44 #70761D #1D7650
split-complementary
#231D76 #76501D #44761D
monochromatic
#070619 #141145 #231D76 #3229A7 #483ED0

Accessibility & contrast

On white

13.92
#231D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#231D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D76
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D76#FFFFFF#000000##FFFFFF
##231D761.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003079
Deuteranopia (green-blind)
#002874
Tritanopia (blue-blind)
#003647
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #231d76;
/* rgb */ color: rgb(35, 29, 118);
/* oklch */ color: oklch(30.8% 0.145 276.7);
Tailwind
colors: {
  custom: {
    50: '#6b5a9e',
    500: '#231d76',
    950: '#000000',
  },
}
SCSS
$custom: #231d76;
$custom-light: #6b5a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#231d76",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 118
  },
  "hsl": {
    "h": 244.045,
    "s": 60.544,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30803,
    "c": 0.14457,
    "h": 276.7
  },
  "luminance": 0.02544
}

Semantic roles & 50–950 ramp

primary
#231D76
secondary
#A3AA45
accent
#E444D9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #231D76

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

Preview Lab → · Contrast checker → · Palette generator →

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