#232486#232486

#232486 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.158 H 273.5°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#232486
RGBrgb(35, 36, 134)
HSLhsl(239, 59%, 33%)
HSVhsv(239, 74%, 53%)
CMYKcmyk(73.9%, 73.1%, 0%, 47.5%)
CIE-LABlab(21.36, 33.84, -54.53)
CIE-LCHlch(21.36, 64.17, 301.82°)
OKLaboklab(33.63% 0.0096 -0.1577)
OKLCHoklch(33.63% 0.158 273.5)
XYZxyz(5.6257, 3.3398, 22.8978)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232486 #868523
analogous
#235586 #232486 #532386
triadic
#232486 #862324 #248623
tetradic
#232486 #862355 #868523 #238653
square
#232486 #862355 #868523 #238653
split-complementary
#232486 #865323 #558623
monochromatic
#0A0A25 #161755 #232486 #3031B7 #5253D2

Accessibility & contrast

On white

12.59
#232486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#232486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232486
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232486#FFFFFF#000000##FFFFFF
##2324861.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#002F84
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #232486;
/* rgb */ color: rgb(35, 36, 134);
/* oklch */ color: oklch(33.6% 0.158 273.5);
Tailwind
colors: {
  custom: {
    50: '#6e5faa',
    500: '#232486',
    950: '#000000',
  },
}
SCSS
$custom: #232486;
$custom-light: #6e5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#232486",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 239.394,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33625,
    "c": 0.15799,
    "h": 273.5
  },
  "luminance": 0.0334
}

Semantic roles & 50–950 ramp

primary
#232486
secondary
#B5B44F
accent
#E046E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #232486

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

Preview Lab → · Contrast checker → · Palette generator →

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