#231471#231471

#231471 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.147 H 279.2°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#231471
RGBrgb(35, 20, 113)
HSLhsl(250, 70%, 26%)
HSVhsv(250, 82%, 44%)
CMYKcmyk(69%, 82.3%, 0%, 55.7%)
CIE-LABlab(15.75, 35.96, -50.38)
CIE-LCHlch(15.75, 61.90, 305.52°)
OKLaboklab(28.97% 0.0237 -0.1455)
OKLCHoklch(28.97% 0.147 279.2)
XYZxyz(3.9230, 2.0496, 15.8085)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231471 #627114
analogous
#143371 #231471 #511471
triadic
#231471 #712314 #147123
tetradic
#231471 #711433 #627114 #147151
square
#231471 #711433 #627114 #147151
split-complementary
#231471 #715114 #337114
monochromatic
#08051A #130B3D #231471 #331DA5 #4327D9

Accessibility & contrast

On white

14.89
#231471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231471
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231471#FFFFFF#000000##FFFFFF
##2314711.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00246F
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #231471;
/* rgb */ color: rgb(35, 20, 113);
/* oklch */ color: oklch(29.0% 0.147 279.2);
Tailwind
colors: {
  custom: {
    50: '#6b549b',
    500: '#231471',
    950: '#000000',
  },
}
SCSS
$custom: #231471;
$custom-light: #6b549b;
$custom-dark: #000000;
JSON
{
  "hex": "#231471",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 249.677,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28968,
    "c": 0.1474,
    "h": 279.2
  },
  "luminance": 0.0205
}

Semantic roles & 50–950 ramp

primary
#231471
secondary
#96A739
accent
#ED3BD0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #231471

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

Preview Lab → · Contrast checker → · Palette generator →

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