#232586#232586

#232586 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.157 H 273.3°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#232586
RGBrgb(35, 37, 134)
HSLhsl(239, 59%, 33%)
HSVhsv(239, 74%, 53%)
CMYKcmyk(73.9%, 72.4%, 0%, 47.5%)
CIE-LABlab(21.58, 33.21, -54.15)
CIE-LCHlch(21.58, 63.53, 301.52°)
OKLaboklab(33.79% 0.009 -0.1566)
OKLCHoklch(33.79% 0.157 273.3)
XYZxyz(5.6563, 3.4011, 22.9080)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232586 #868423
analogous
#235686 #232586 #522386
triadic
#232586 #862325 #258623
tetradic
#232586 #862356 #868423 #238652
square
#232586 #862356 #868423 #238652
split-complementary
#232586 #865223 #568623
monochromatic
#0A0A25 #161855 #232586 #3032B7 #5254D2

Accessibility & contrast

On white

12.50
#232586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#232586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232586
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232586#FFFFFF#000000##FFFFFF
##2325861.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#002F84
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #232586;
/* rgb */ color: rgb(35, 37, 134);
/* oklch */ color: oklch(33.8% 0.157 273.3);
Tailwind
colors: {
  custom: {
    50: '#6e60aa',
    500: '#232586',
    950: '#000000',
  },
}
SCSS
$custom: #232586;
$custom-light: #6e60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#232586",
  "rgb": {
    "r": 35,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 238.788,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33788,
    "c": 0.15687,
    "h": 273.3
  },
  "luminance": 0.03402
}

Semantic roles & 50–950 ramp

primary
#232586
secondary
#B5B34F
accent
#DF46E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #232586

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

Preview Lab → · Contrast checker → · Palette generator →

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