#231576#231576

#231576 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.153 H 278.1°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#231576
RGBrgb(35, 21, 118)
HSLhsl(249, 70%, 27%)
HSVhsv(249, 82%, 46%)
CMYKcmyk(70.3%, 82.2%, 0%, 53.7%)
CIE-LABlab(16.51, 37.06, -52.35)
CIE-LCHlch(16.51, 64.14, 305.30°)
OKLaboklab(29.67% 0.0216 -0.1512)
OKLCHoklch(29.67% 0.153 278.1)
XYZxyz(4.2303, 2.2013, 17.3380)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231576 #687615
analogous
#153776 #231576 #541576
triadic
#231576 #762315 #157623
tetradic
#231576 #761537 #687615 #157654
square
#231576 #761537 #687615 #157654
split-complementary
#231576 #765415 #377615
monochromatic
#08051A #140C42 #231576 #321EAA #452CD9

Accessibility & contrast

On white

14.58
#231576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#231576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231576
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231576#FFFFFF#000000##FFFFFF
##2315761.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002574
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #231576;
/* rgb */ color: rgb(35, 21, 118);
/* oklch */ color: oklch(29.7% 0.153 278.1);
Tailwind
colors: {
  custom: {
    50: '#6c559f',
    500: '#231576',
    950: '#000000',
  },
}
SCSS
$custom: #231576;
$custom-light: #6c559f;
$custom-dark: #000000;
JSON
{
  "hex": "#231576",
  "rgb": {
    "r": 35,
    "g": 21,
    "b": 118
  },
  "hsl": {
    "h": 248.66,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29673,
    "c": 0.15277,
    "h": 278.1
  },
  "luminance": 0.02202
}

Semantic roles & 50–950 ramp

primary
#231576
secondary
#9BAC3B
accent
#ED3BD3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E

Preview Lab

Preview with #231576

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

Preview Lab → · Contrast checker → · Palette generator →

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