#231572#231572

#231572 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.148 H 278.9°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#231572
RGBrgb(35, 21, 114)
HSLhsl(249, 69%, 26%)
HSVhsv(249, 82%, 45%)
CMYKcmyk(69.3%, 81.6%, 0%, 55.3%)
CIE-LABlab(16.05, 35.76, -50.54)
CIE-LCHlch(16.05, 61.91, 305.28°)
OKLaboklab(29.21% 0.0228 -0.1459)
OKLCHoklch(29.21% 0.148 278.9)
XYZxyz(3.9976, 2.1082, 16.1126)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231572 #647215
analogous
#153672 #231572 #521572
triadic
#231572 #722315 #157223
tetradic
#231572 #721536 #647215 #157252
square
#231572 #721536 #647215 #157252
split-complementary
#231572 #725215 #367215
monochromatic
#08051A #130B3E #231572 #331FA6 #442AD8

Accessibility & contrast

On white

14.77
#231572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#231572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231572
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231572#FFFFFF#000000##FFFFFF
##2315721.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B75
Deuteranopia (green-blind)
#002470
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #231572;
/* rgb */ color: rgb(35, 21, 114);
/* oklch */ color: oklch(29.2% 0.148 278.9);
Tailwind
colors: {
  custom: {
    50: '#6b559c',
    500: '#231572',
    950: '#000000',
  },
}
SCSS
$custom: #231572;
$custom-light: #6b559c;
$custom-dark: #000000;
JSON
{
  "hex": "#231572",
  "rgb": {
    "r": 35,
    "g": 21,
    "b": 114
  },
  "hsl": {
    "h": 249.032,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29211,
    "c": 0.14772,
    "h": 278.9
  },
  "luminance": 0.02109
}

Semantic roles & 50–950 ramp

primary
#231572
secondary
#98A83B
accent
#EC3CD1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #231572

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

Preview Lab → · Contrast checker → · Palette generator →

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