#232387#232387

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

Color values

HEX#232387
RGBrgb(35, 35, 135)
HSLhsl(240, 59%, 33%)
HSVhsv(240, 74%, 53%)
CMYKcmyk(74.1%, 74.1%, 0%, 47.1%)
CIE-LABlab(21.24, 34.81, -55.35)
CIE-LCHlch(21.24, 65.39, 302.17°)
OKLaboklab(33.57% 0.01 -0.1601)
OKLCHoklch(33.57% 0.16 273.6)
XYZxyz(5.6659, 3.3081, 23.2569)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232387 #878723
analogous
#235587 #232387 #552387
triadic
#232387 #872323 #238723
tetradic
#232387 #872355 #878723 #238755
square
#232387 #872355 #878723 #238755
split-complementary
#232387 #875523 #558723
monochromatic
#0A0A26 #161656 #232387 #3030B8 #5252D2

Accessibility & contrast

On white

12.64
#232387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232387
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232387#FFFFFF#000000##FFFFFF
##2323871.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388A
Deuteranopia (green-blind)
#002E85
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #232387;
/* rgb */ color: rgb(35, 35, 135);
/* oklch */ color: oklch(33.6% 0.160 273.6);
Tailwind
colors: {
  custom: {
    50: '#6f5fab',
    500: '#232387',
    950: '#000000',
  },
}
SCSS
$custom: #232387;
$custom-light: #6f5fab;
$custom-dark: #000000;
JSON
{
  "hex": "#232387",
  "rgb": {
    "r": 35,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 240,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33572,
    "c": 0.1604,
    "h": 273.6
  },
  "luminance": 0.03309
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #232387

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

Preview Lab → · Contrast checker → · Palette generator →

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