#231986#231986

#231986 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.169 H 275.2°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#231986
RGBrgb(35, 25, 134)
HSLhsl(246, 69%, 31%)
HSVhsv(246, 81%, 53%)
CMYKcmyk(73.9%, 81.3%, 0%, 47.5%)
CIE-LABlab(19.11, 40.18, -58.23)
CIE-LCHlch(19.11, 70.75, 304.61°)
OKLaboklab(32.04% 0.0152 -0.1684)
OKLCHoklch(32.04% 0.169 275.2)
XYZxyz(5.3424, 2.7733, 22.8034)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231986 #7C8619
analogous
#194586 #231986 #591986
triadic
#231986 #862319 #198623
tetradic
#231986 #861945 #7C8619 #198659
square
#231986 #861945 #7C8619 #198659
split-complementary
#231986 #865919 #458619
monochromatic
#08061F #160F52 #231986 #3023BA #4D3EDB

Accessibility & contrast

On white

13.51
#231986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231986
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231986#FFFFFF#000000##FFFFFF
##2319861.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231986;
/* rgb */ color: rgb(35, 25, 134);
/* oklch */ color: oklch(32.0% 0.169 275.2);
Tailwind
colors: {
  custom: {
    50: '#6f59aa',
    500: '#231986',
    950: '#000000',
  },
}
SCSS
$custom: #231986;
$custom-light: #6f59aa;
$custom-dark: #000000;
JSON
{
  "hex": "#231986",
  "rgb": {
    "r": 35,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 245.505,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32038,
    "c": 0.16907,
    "h": 275.2
  },
  "luminance": 0.02774
}

Semantic roles & 50–950 ramp

primary
#231986
secondary
#AFBA41
accent
#EB3CDB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #231986

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

Preview Lab → · Contrast checker → · Palette generator →

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