#231586#231586

#231586 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.172 H 275.6°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#231586
RGBrgb(35, 21, 134)
HSLhsl(247, 73%, 30%)
HSVhsv(247, 84%, 53%)
CMYKcmyk(73.9%, 84.3%, 0%, 47.5%)
CIE-LABlab(18.43, 42.18, -59.37)
CIE-LCHlch(18.43, 72.82, 305.39°)
OKLaboklab(31.56% 0.0168 -0.1716)
OKLCHoklch(31.56% 0.172 275.6)
XYZxyz(5.2630, 2.6144, 22.7769)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231586 #788615
analogous
#153F86 #231586 #5C1586
triadic
#231586 #862315 #158623
tetradic
#231586 #86153F #788615 #15865C
square
#231586 #86153F #788615 #15865C
split-complementary
#231586 #865C15 #3F8615
monochromatic
#07041C #150D51 #231586 #311DBB #4B36DF

Accessibility & contrast

On white

13.79
#231586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231586
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231586#FFFFFF#000000##FFFFFF
##2315861.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.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: #231586;
/* rgb */ color: rgb(35, 21, 134);
/* oklch */ color: oklch(31.6% 0.172 275.6);
Tailwind
colors: {
  custom: {
    50: '#7057ab',
    500: '#231586',
    950: '#000000',
  },
}
SCSS
$custom: #231586;
$custom-light: #7057ab;
$custom-dark: #000000;
JSON
{
  "hex": "#231586",
  "rgb": {
    "r": 35,
    "g": 21,
    "b": 134
  },
  "hsl": {
    "h": 247.434,
    "s": 72.903,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31563,
    "c": 0.17243,
    "h": 275.6
  },
  "luminance": 0.02615
}

Semantic roles & 50–950 ramp

primary
#231586
secondary
#ABBA3C
accent
#F038D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #231586

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

Preview Lab → · Contrast checker → · Palette generator →

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