#231472#231472

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

Color values

HEX#231472
RGBrgb(35, 20, 114)
HSLhsl(250, 70%, 26%)
HSVhsv(250, 82%, 45%)
CMYKcmyk(69.3%, 82.5%, 0%, 55.3%)
CIE-LABlab(15.86, 36.29, -50.84)
CIE-LCHlch(15.86, 62.46, 305.52°)
OKLaboklab(29.08% 0.0234 -0.1468)
OKLCHoklch(29.08% 0.149 279)
XYZxyz(3.9796, 2.0722, 16.1066)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231472 #637214
analogous
#143472 #231472 #521472
triadic
#231472 #722314 #147223
tetradic
#231472 #721434 #637214 #147252
square
#231472 #721434 #637214 #147252
split-complementary
#231472 #725214 #347214
monochromatic
#08051A #130B3E #231472 #331DA6 #4427D9

Accessibility & contrast

On white

14.85
#231472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#231472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231472
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231472#FFFFFF#000000##FFFFFF
##2314721.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231472;
/* rgb */ color: rgb(35, 20, 114);
/* oklch */ color: oklch(29.1% 0.149 279.0);
Tailwind
colors: {
  custom: {
    50: '#6b559c',
    500: '#231472',
    950: '#000000',
  },
}
SCSS
$custom: #231472;
$custom-light: #6b559c;
$custom-dark: #000000;
JSON
{
  "hex": "#231472",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 249.574,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29083,
    "c": 0.14867,
    "h": 279
  },
  "luminance": 0.02073
}

Semantic roles & 50–950 ramp

primary
#231472
secondary
#97A839
accent
#ED3BD1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #231472

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

Preview Lab → · Contrast checker → · Palette generator →

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