#231575#231575

#231575 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.152 H 278.3°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#231575
RGBrgb(35, 21, 117)
HSLhsl(249, 70%, 27%)
HSVhsv(249, 82%, 46%)
CMYKcmyk(70.1%, 82.1%, 0%, 54.1%)
CIE-LABlab(16.39, 36.74, -51.90)
CIE-LCHlch(16.39, 63.59, 305.29°)
OKLaboklab(29.56% 0.0219 -0.1499)
OKLCHoklch(29.56% 0.152 278.3)
XYZxyz(4.1712, 2.1777, 17.0267)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231575 #677515
analogous
#153775 #231575 #531575
triadic
#231575 #752315 #157523
tetradic
#231575 #751537 #677515 #157553
square
#231575 #751537 #677515 #157553
split-complementary
#231575 #755315 #377515
monochromatic
#08051A #130C41 #231575 #331EA9 #452BD9

Accessibility & contrast

On white

14.63
#231575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231575
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231575#FFFFFF#000000##FFFFFF
##2315751.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231575;
/* rgb */ color: rgb(35, 21, 117);
/* oklch */ color: oklch(29.6% 0.152 278.3);
Tailwind
colors: {
  custom: {
    50: '#6b559e',
    500: '#231575',
    950: '#000000',
  },
}
SCSS
$custom: #231575;
$custom-light: #6b559e;
$custom-dark: #000000;
JSON
{
  "hex": "#231575",
  "rgb": {
    "r": 35,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 248.75,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29557,
    "c": 0.15151,
    "h": 278.3
  },
  "luminance": 0.02178
}

Semantic roles & 50–950 ramp

primary
#231575
secondary
#9BAB3B
accent
#EC3BD3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #231575

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

Preview Lab → · Contrast checker → · Palette generator →

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