#231D72#231D72

#231D72 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.139 H 277.3°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#231D72
RGBrgb(35, 29, 114)
HSLhsl(244, 59%, 28%)
HSVhsv(244, 75%, 45%)
CMYKcmyk(69.3%, 74.6%, 0%, 55.3%)
CIE-LABlab(17.69, 31.10, -47.82)
CIE-LCHlch(17.69, 57.04, 303.04°)
OKLaboklab(30.38% 0.0176 -0.1381)
OKLCHoklch(30.38% 0.139 277.3)
XYZxyz(4.1688, 2.4506, 16.1697)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D72 #6C721D
analogous
#1D4172 #231D72 #4D1D72
triadic
#231D72 #72231D #1D7223
tetradic
#231D72 #721D41 #6C721D #1D724D
square
#231D72 #721D41 #6C721D #1D724D
split-complementary
#231D72 #724D1D #41721D
monochromatic
#070618 #141141 #231D72 #3229A3 #463CCD

Accessibility & contrast

On white

14.09
#231D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231D72
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D72#FFFFFF#000000##FFFFFF
##231D721.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#002870
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #231d72;
/* rgb */ color: rgb(35, 29, 114);
/* oklch */ color: oklch(30.4% 0.139 277.3);
Tailwind
colors: {
  custom: {
    50: '#6a5a9b',
    500: '#231d72',
    950: '#000000',
  },
}
SCSS
$custom: #231d72;
$custom-light: #6a5a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#231d72",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 114
  },
  "hsl": {
    "h": 244.235,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30376,
    "c": 0.13921,
    "h": 277.3
  },
  "luminance": 0.02451
}

Semantic roles & 50–950 ramp

primary
#231D72
secondary
#9FA645
accent
#E345D8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #231D72

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

Preview Lab → · Contrast checker → · Palette generator →

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