#231686#231686

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

Color values

HEX#231686
RGBrgb(35, 22, 134)
HSLhsl(247, 72%, 31%)
HSVhsv(247, 84%, 53%)
CMYKcmyk(73.9%, 83.6%, 0%, 47.5%)
CIE-LABlab(18.59, 41.70, -59.09)
CIE-LCHlch(18.59, 72.32, 305.21°)
OKLaboklab(31.68% 0.0165 -0.1708)
OKLCHoklch(31.68% 0.172 275.5)
XYZxyz(5.2817, 2.6519, 22.7831)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231686 #798616
analogous
#164186 #231686 #5B1686
triadic
#231686 #862316 #168623
tetradic
#231686 #861641 #798616 #16865B
square
#231686 #861641 #798616 #16865B
split-complementary
#231686 #865B16 #418616
monochromatic
#08051D #150D51 #231686 #311FBB #4B38DE

Accessibility & contrast

On white

13.72
#231686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#231686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231686
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231686#FFFFFF#000000##FFFFFF
##2316861.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003289
Deuteranopia (green-blind)
#002884
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #231686;
/* rgb */ color: rgb(35, 22, 134);
/* oklch */ color: oklch(31.7% 0.172 275.5);
Tailwind
colors: {
  custom: {
    50: '#7057aa',
    500: '#231686',
    950: '#000000',
  },
}
SCSS
$custom: #231686;
$custom-light: #7057aa;
$custom-dark: #000000;
JSON
{
  "hex": "#231686",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 134
  },
  "hsl": {
    "h": 246.964,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31677,
    "c": 0.17163,
    "h": 275.5
  },
  "luminance": 0.02652
}

Semantic roles & 50–950 ramp

primary
#231686
secondary
#ACBA3E
accent
#EF39D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #231686

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

Preview Lab → · Contrast checker → · Palette generator →

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