#232186#232186

#232186 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.161 H 274.0°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#232186
RGBrgb(35, 33, 134)
HSLhsl(241, 60%, 33%)
HSVhsv(241, 75%, 53%)
CMYKcmyk(73.9%, 75.4%, 0%, 47.5%)
CIE-LABlab(20.70, 35.68, -55.62)
CIE-LCHlch(20.70, 66.07, 302.68°)
OKLaboklab(33.15% 0.0113 -0.1609)
OKLCHoklch(33.15% 0.161 274)
XYZxyz(5.5386, 3.1657, 22.8688)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232186 #848621
analogous
#215186 #232186 #552186
triadic
#232186 #862321 #218623
tetradic
#232186 #862151 #848621 #218655
square
#232186 #862151 #848621 #218655
split-complementary
#232186 #865521 #518621
monochromatic
#090924 #161555 #232186 #302DB7 #514ED3

Accessibility & contrast

On white

12.86
#232186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#232186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232186
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232186#FFFFFF#000000##FFFFFF
##2321861.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002D84
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #232186;
/* rgb */ color: rgb(35, 33, 134);
/* oklch */ color: oklch(33.2% 0.161 274.0);
Tailwind
colors: {
  custom: {
    50: '#6e5eaa',
    500: '#232186',
    950: '#000000',
  },
}
SCSS
$custom: #232186;
$custom-light: #6e5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#232186",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 241.188,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33153,
    "c": 0.16126,
    "h": 274
  },
  "luminance": 0.03166
}

Semantic roles & 50–950 ramp

primary
#232186
secondary
#B4B74C
accent
#E444E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #232186

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

Preview Lab → · Contrast checker → · Palette generator →

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