#231D73#231D73

#231D73 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.5% C 0.141 H 277.1°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#231D73
RGBrgb(35, 29, 115)
HSLhsl(244, 60%, 28%)
HSVhsv(244, 75%, 45%)
CMYKcmyk(69.6%, 74.8%, 0%, 54.9%)
CIE-LABlab(17.80, 31.45, -48.29)
CIE-LCHlch(17.80, 57.63, 303.07°)
OKLaboklab(30.48% 0.0174 -0.1395)
OKLCHoklch(30.48% 0.141 277.1)
XYZxyz(4.2260, 2.4735, 16.4711)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D73 #6D731D
analogous
#1D4273 #231D73 #4E1D73
triadic
#231D73 #73231D #1D7323
tetradic
#231D73 #731D42 #6D731D #1D734E
square
#231D73 #731D42 #6D731D #1D734E
split-complementary
#231D73 #734E1D #42731D
monochromatic
#070618 #141142 #231D73 #3229A4 #473CCE

Accessibility & contrast

On white

14.05
#231D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231D73
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D73#FFFFFF#000000##FFFFFF
##231D731.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F76
Deuteranopia (green-blind)
#002871
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #231d73;
/* rgb */ color: rgb(35, 29, 115);
/* oklch */ color: oklch(30.5% 0.141 277.1);
Tailwind
colors: {
  custom: {
    50: '#6a5a9c',
    500: '#231d73',
    950: '#000000',
  },
}
SCSS
$custom: #231d73;
$custom-light: #6a5a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#231d73",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 244.186,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30482,
    "c": 0.14056,
    "h": 277.1
  },
  "luminance": 0.02474
}

Semantic roles & 50–950 ramp

primary
#231D73
secondary
#A0A745
accent
#E345D8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #231D73

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

Preview Lab → · Contrast checker → · Palette generator →

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