#232487#232487

#232487 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.159 H 273.4°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#232487
RGBrgb(35, 36, 135)
HSLhsl(239, 59%, 33%)
HSVhsv(239, 74%, 53%)
CMYKcmyk(74.1%, 73.3%, 0%, 47.1%)
CIE-LABlab(21.46, 34.19, -54.98)
CIE-LCHlch(21.46, 64.75, 301.88°)
OKLaboklab(33.73% 0.0094 -0.159)
OKLCHoklch(33.73% 0.159 273.4)
XYZxyz(5.6957, 3.3678, 23.2668)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232487 #878623
analogous
#235687 #232487 #542387
triadic
#232487 #872324 #248723
tetradic
#232487 #872356 #878623 #238754
square
#232487 #872356 #878623 #238754
split-complementary
#232487 #875423 #568723
monochromatic
#0A0A26 #161756 #232487 #3031B8 #5253D2

Accessibility & contrast

On white

12.55
#232487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232487
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232487#FFFFFF#000000##FFFFFF
##2324871.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388A
Deuteranopia (green-blind)
#002F85
Tritanopia (blue-blind)
#004053
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #232487;
/* rgb */ color: rgb(35, 36, 135);
/* oklch */ color: oklch(33.7% 0.159 273.4);
Tailwind
colors: {
  custom: {
    50: '#6e60ab',
    500: '#232487',
    950: '#000000',
  },
}
SCSS
$custom: #232487;
$custom-light: #6e60ab;
$custom-dark: #000000;
JSON
{
  "hex": "#232487",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 239.4,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33731,
    "c": 0.15931,
    "h": 273.4
  },
  "luminance": 0.03368
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #232487

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

Preview Lab → · Contrast checker → · Palette generator →

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