#231D71#231D71

#231D71 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.138 H 277.4°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#231D71
RGBrgb(35, 29, 113)
HSLhsl(244, 59%, 28%)
HSVhsv(244, 74%, 44%)
CMYKcmyk(69%, 74.3%, 0%, 55.7%)
CIE-LABlab(17.59, 30.75, -47.34)
CIE-LCHlch(17.59, 56.45, 303.00°)
OKLaboklab(30.27% 0.0178 -0.1367)
OKLCHoklch(30.27% 0.138 277.4)
XYZxyz(4.1122, 2.4280, 15.8715)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D71 #6B711D
analogous
#1D4171 #231D71 #4D1D71
triadic
#231D71 #71231D #1D7123
tetradic
#231D71 #711D41 #6B711D #1D714D
square
#231D71 #711D41 #6B711D #1D714D
split-complementary
#231D71 #714D1D #41711D
monochromatic
#080618 #141140 #231D71 #3229A2 #463CCD

Accessibility & contrast

On white

14.14
#231D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#231D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D71
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D71#FFFFFF#000000##FFFFFF
##231D711.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F74
Deuteranopia (green-blind)
#00286F
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #231d71;
/* rgb */ color: rgb(35, 29, 113);
/* oklch */ color: oklch(30.3% 0.138 277.4);
Tailwind
colors: {
  custom: {
    50: '#6a5a9b',
    500: '#231d71',
    950: '#000000',
  },
}
SCSS
$custom: #231d71;
$custom-light: #6a5a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#231d71",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 244.286,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3027,
    "c": 0.13786,
    "h": 277.4
  },
  "luminance": 0.02428
}

Semantic roles & 50–950 ramp

primary
#231D71
secondary
#9EA544
accent
#E245D7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #231D71

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

Preview Lab → · Contrast checker → · Palette generator →

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