#231684#231684

#231684 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.169 H 275.8°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#231684
RGBrgb(35, 22, 132)
HSLhsl(247, 71%, 30%)
HSVhsv(247, 83%, 52%)
CMYKcmyk(73.5%, 83.3%, 0%, 48.2%)
CIE-LABlab(18.35, 41.06, -58.23)
CIE-LCHlch(18.35, 71.26, 305.19°)
OKLaboklab(31.44% 0.017 -0.1683)
OKLCHoklch(31.44% 0.169 275.8)
XYZxyz(5.1435, 2.5966, 22.0554)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231684 #778416
analogous
#164084 #231684 #5A1684
triadic
#231684 #842316 #168423
tetradic
#231684 #841640 #778416 #16845A
square
#231684 #841640 #778416 #16845A
split-complementary
#231684 #845A16 #408416
monochromatic
#07051B #150D50 #231684 #311FB8 #4A37DE

Accessibility & contrast

On white

13.82
#231684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#231684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231684
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231684#FFFFFF#000000##FFFFFF
##2316841.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003187
Deuteranopia (green-blind)
#002882
Tritanopia (blue-blind)
#00384E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #231684;
/* rgb */ color: rgb(35, 22, 132);
/* oklch */ color: oklch(31.4% 0.169 275.8);
Tailwind
colors: {
  custom: {
    50: '#6f57a9',
    500: '#231684',
    950: '#000000',
  },
}
SCSS
$custom: #231684;
$custom-light: #6f57a9;
$custom-dark: #000000;
JSON
{
  "hex": "#231684",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 132
  },
  "hsl": {
    "h": 247.091,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31439,
    "c": 0.1692,
    "h": 275.8
  },
  "luminance": 0.02597
}

Semantic roles & 50–950 ramp

primary
#231684
secondary
#AAB83D
accent
#EE3AD9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #231684

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

Preview Lab → · Contrast checker → · Palette generator →

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