#232986#232986

#232986 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.152 H 272.4°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#232986
RGBrgb(35, 41, 134)
HSLhsl(236, 59%, 33%)
HSVhsv(236, 74%, 53%)
CMYKcmyk(73.9%, 69.4%, 0%, 47.5%)
CIE-LABlab(22.53, 30.64, -52.60)
CIE-LCHlch(22.53, 60.88, 300.22°)
OKLaboklab(34.47% 0.0064 -0.1521)
OKLCHoklch(34.47% 0.152 272.4)
XYZxyz(5.7877, 3.6639, 22.9518)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232986 #868023
analogous
#235A86 #232986 #4E2386
triadic
#232986 #862329 #298623
tetradic
#232986 #86235A #868023 #23864E
square
#232986 #86235A #868023 #23864E
split-complementary
#232986 #864E23 #5A8623
monochromatic
#0A0B25 #161A55 #232986 #3038B7 #5259D2

Accessibility & contrast

On white

12.12
#232986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#232986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232986
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232986#FFFFFF#000000##FFFFFF
##2329861.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003184
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #232986;
/* rgb */ color: rgb(35, 41, 134);
/* oklch */ color: oklch(34.5% 0.152 272.4);
Tailwind
colors: {
  custom: {
    50: '#6e63aa',
    500: '#232986',
    950: '#000000',
  },
}
SCSS
$custom: #232986;
$custom-light: #6e63aa;
$custom-dark: #000000;
JSON
{
  "hex": "#232986",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 236.364,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34469,
    "c": 0.15221,
    "h": 272.4
  },
  "luminance": 0.03664
}

Semantic roles & 50–950 ramp

primary
#232986
secondary
#B5AF4F
accent
#D846E2
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #232986

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

Preview Lab → · Contrast checker → · Palette generator →

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