#231578#231578

#231578 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.155 H 277.8°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#231578
RGBrgb(35, 21, 120)
HSLhsl(248, 70%, 28%)
HSVhsv(248, 83%, 47%)
CMYKcmyk(70.8%, 82.5%, 0%, 52.9%)
CIE-LABlab(16.74, 37.71, -53.25)
CIE-LCHlch(16.74, 65.25, 305.31°)
OKLaboklab(29.9% 0.021 -0.1538)
OKLCHoklch(29.9% 0.155 277.8)
XYZxyz(4.3504, 2.2493, 17.9706)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231578 #6A7815
analogous
#153878 #231578 #551578
triadic
#231578 #782315 #157823
tetradic
#231578 #781538 #6A7815 #157855
square
#231578 #781538 #6A7815 #157855
split-complementary
#231578 #785515 #387815
monochromatic
#08051A #140C44 #231578 #321EAC #462DDA

Accessibility & contrast

On white

14.48
#231578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#231578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231578
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231578#FFFFFF#000000##FFFFFF
##2315781.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7B
Deuteranopia (green-blind)
#002576
Tritanopia (blue-blind)
#003347
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #231578;
/* rgb */ color: rgb(35, 21, 120);
/* oklch */ color: oklch(29.9% 0.155 277.8);
Tailwind
colors: {
  custom: {
    50: '#6c56a0',
    500: '#231578',
    950: '#000000',
  },
}
SCSS
$custom: #231578;
$custom-light: #6c56a0;
$custom-dark: #000000;
JSON
{
  "hex": "#231578",
  "rgb": {
    "r": 35,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 248.485,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29905,
    "c": 0.15527,
    "h": 277.8
  },
  "luminance": 0.0225
}

Semantic roles & 50–950 ramp

primary
#231578
secondary
#9DAE3B
accent
#ED3BD4
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #231578

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

Preview Lab → · Contrast checker → · Palette generator →

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