#231884#231884

#231884 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.167 H 275.5°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#231884
RGBrgb(35, 24, 132)
HSLhsl(246, 69%, 31%)
HSVhsv(246, 82%, 52%)
CMYKcmyk(73.5%, 81.8%, 0%, 48.2%)
CIE-LABlab(18.70, 40.05, -57.66)
CIE-LCHlch(18.70, 70.21, 304.79°)
OKLaboklab(31.68% 0.0162 -0.1667)
OKLCHoklch(31.68% 0.167 275.5)
XYZxyz(5.1833, 2.6760, 22.0687)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231884 #798418
analogous
#184384 #231884 #591884
triadic
#231884 #842318 #188423
tetradic
#231884 #841843 #798418 #188459
square
#231884 #841843 #798418 #188459
split-complementary
#231884 #845918 #438418
monochromatic
#08051C #150F50 #231884 #3121B8 #4B3BDB

Accessibility & contrast

On white

13.68
#231884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#231884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231884
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231884#FFFFFF#000000##FFFFFF
##2318841.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003287
Deuteranopia (green-blind)
#002982
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #231884;
/* rgb */ color: rgb(35, 24, 132);
/* oklch */ color: oklch(31.7% 0.167 275.5);
Tailwind
colors: {
  custom: {
    50: '#6f58a9',
    500: '#231884',
    950: '#000000',
  },
}
SCSS
$custom: #231884;
$custom-light: #6f58a9;
$custom-dark: #000000;
JSON
{
  "hex": "#231884",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 132
  },
  "hsl": {
    "h": 246.111,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31679,
    "c": 0.16748,
    "h": 275.5
  },
  "luminance": 0.02677
}

Semantic roles & 50–950 ramp

primary
#231884
secondary
#ACB840
accent
#EC3CDA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #231884

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

Preview Lab → · Contrast checker → · Palette generator →

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