#231886#231886

#231886 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.170 H 275.3°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#231886
RGBrgb(35, 24, 134)
HSLhsl(246, 70%, 31%)
HSVhsv(246, 82%, 53%)
CMYKcmyk(73.9%, 82.1%, 0%, 47.5%)
CIE-LABlab(18.93, 40.70, -58.53)
CIE-LCHlch(18.93, 71.29, 304.82°)
OKLaboklab(31.91% 0.0156 -0.1692)
OKLCHoklch(31.91% 0.17 275.3)
XYZxyz(5.3214, 2.7313, 22.7964)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231886 #7B8618
analogous
#184486 #231886 #5A1886
triadic
#231886 #862318 #188623
tetradic
#231886 #861844 #7B8618 #18865A
square
#231886 #861844 #7B8618 #18865A
split-complementary
#231886 #865A18 #448618
monochromatic
#08051E #150F52 #231886 #3121BA #4C3CDC

Accessibility & contrast

On white

13.58
#231886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#231886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231886
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231886#FFFFFF#000000##FFFFFF
##2318861.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003389
Deuteranopia (green-blind)
#002984
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #231886;
/* rgb */ color: rgb(35, 24, 134);
/* oklch */ color: oklch(31.9% 0.170 275.3);
Tailwind
colors: {
  custom: {
    50: '#6f58aa',
    500: '#231886',
    950: '#000000',
  },
}
SCSS
$custom: #231886;
$custom-light: #6f58aa;
$custom-dark: #000000;
JSON
{
  "hex": "#231886",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 246,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31914,
    "c": 0.16995,
    "h": 275.3
  },
  "luminance": 0.02732
}

Semantic roles & 50–950 ramp

primary
#231886
secondary
#AEBA40
accent
#EC3BDB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #231886

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

Preview Lab → · Contrast checker → · Palette generator →

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