#232386#232386

#232386 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.159 H 273.7°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#232386
RGBrgb(35, 35, 134)
HSLhsl(240, 59%, 33%)
HSVhsv(240, 74%, 53%)
CMYKcmyk(73.9%, 73.9%, 0%, 47.5%)
CIE-LABlab(21.13, 34.46, -54.90)
CIE-LCHlch(21.13, 64.81, 302.12°)
OKLaboklab(33.47% 0.0102 -0.1588)
OKLCHoklch(33.47% 0.159 273.7)
XYZxyz(5.5958, 3.2801, 22.8878)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232386 #868623
analogous
#235486 #232386 #542386
triadic
#232386 #862323 #238623
tetradic
#232386 #862354 #868623 #238654
square
#232386 #862354 #868623 #238654
split-complementary
#232386 #865423 #548623
monochromatic
#0A0A25 #161655 #232386 #3030B7 #5252D2

Accessibility & contrast

On white

12.68
#232386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#232386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232386
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232386#FFFFFF#000000##FFFFFF
##2323861.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #232386;
/* rgb */ color: rgb(35, 35, 134);
/* oklch */ color: oklch(33.5% 0.159 273.7);
Tailwind
colors: {
  custom: {
    50: '#6e5faa',
    500: '#232386',
    950: '#000000',
  },
}
SCSS
$custom: #232386;
$custom-light: #6e5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#232386",
  "rgb": {
    "r": 35,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 240,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33465,
    "c": 0.15909,
    "h": 273.7
  },
  "luminance": 0.03281
}

Semantic roles & 50–950 ramp

primary
#232386
secondary
#B5B54F
accent
#E246E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #232386

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

Preview Lab → · Contrast checker → · Palette generator →

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