#231889#231889

#231889 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.174 H 274.9°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#231889
RGBrgb(35, 24, 137)
HSLhsl(246, 70%, 32%)
HSVhsv(246, 82%, 54%)
CMYKcmyk(74.5%, 82.5%, 0%, 46.3%)
CIE-LABlab(19.29, 41.67, -59.82)
CIE-LCHlch(19.29, 72.90, 304.86°)
OKLaboklab(32.27% 0.0148 -0.173)
OKLCHoklch(32.27% 0.174 274.9)
XYZxyz(5.5336, 2.8162, 23.9140)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231889 #7E8918
analogous
#184689 #231889 #5C1889
triadic
#231889 #892318 #188923
tetradic
#231889 #891846 #7E8918 #18895C
square
#231889 #891846 #7E8918 #18895C
split-complementary
#231889 #895C18 #468918
monochromatic
#080621 #160F55 #231889 #3021BD #4E3EDD

Accessibility & contrast

On white

13.43
#231889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#231889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231889
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231889#FFFFFF#000000##FFFFFF
##2318891.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002A87
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #231889;
/* rgb */ color: rgb(35, 24, 137);
/* oklch */ color: oklch(32.3% 0.174 274.9);
Tailwind
colors: {
  custom: {
    50: '#7058ad',
    500: '#231889',
    950: '#000000',
  },
}
SCSS
$custom: #231889;
$custom-light: #7058ad;
$custom-dark: #000000;
JSON
{
  "hex": "#231889",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 245.841,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32267,
    "c": 0.17361,
    "h": 274.9
  },
  "luminance": 0.02817
}

Semantic roles & 50–950 ramp

primary
#231889
secondary
#B0BD40
accent
#ED3BDC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #231889

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

Preview Lab → · Contrast checker → · Palette generator →

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