#231573#231573

#231573 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.149 H 278.7°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#231573
RGBrgb(35, 21, 115)
HSLhsl(249, 69%, 27%)
HSVhsv(249, 82%, 45%)
CMYKcmyk(69.6%, 81.7%, 0%, 54.9%)
CIE-LABlab(16.16, 36.08, -50.99)
CIE-LCHlch(16.16, 62.47, 305.28°)
OKLaboklab(29.33% 0.0225 -0.1473)
OKLCHoklch(29.33% 0.149 278.7)
XYZxyz(4.0548, 2.1311, 16.4140)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231573 #657315
analogous
#153673 #231573 #521573
triadic
#231573 #732315 #157323
tetradic
#231573 #731536 #657315 #157352
square
#231573 #731536 #657315 #157352
split-complementary
#231573 #735215 #367315
monochromatic
#08051A #130C3F #231573 #331EA7 #442AD8

Accessibility & contrast

On white

14.72
#231573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#231573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231573
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231573#FFFFFF#000000##FFFFFF
##2315731.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C76
Deuteranopia (green-blind)
#002471
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #231573;
/* rgb */ color: rgb(35, 21, 115);
/* oklch */ color: oklch(29.3% 0.149 278.7);
Tailwind
colors: {
  custom: {
    50: '#6b559c',
    500: '#231573',
    950: '#000000',
  },
}
SCSS
$custom: #231573;
$custom-light: #6b559c;
$custom-dark: #000000;
JSON
{
  "hex": "#231573",
  "rgb": {
    "r": 35,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 248.936,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29326,
    "c": 0.14899,
    "h": 278.7
  },
  "luminance": 0.02131
}

Semantic roles & 50–950 ramp

primary
#231573
secondary
#99A93B
accent
#EC3CD2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #231573

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

Preview Lab → · Contrast checker → · Palette generator →

#231573 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva