#232087#232087

#232087 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.164 H 274.1°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#232087
RGBrgb(35, 32, 135)
HSLhsl(242, 62%, 33%)
HSVhsv(242, 76%, 53%)
CMYKcmyk(74.1%, 76.3%, 0%, 47.1%)
CIE-LABlab(20.59, 36.62, -56.41)
CIE-LCHlch(20.59, 67.26, 302.99°)
OKLaboklab(33.11% 0.0116 -0.1632)
OKLCHoklch(33.11% 0.164 274.1)
XYZxyz(5.5814, 3.1391, 23.2287)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232087 #848720
analogous
#205087 #232087 #572087
triadic
#232087 #872320 #208723
tetradic
#232087 #872050 #848720 #208757
square
#232087 #872050 #848720 #208757
split-complementary
#232087 #875720 #508720
monochromatic
#090924 #161456 #232087 #302CB8 #514DD5

Accessibility & contrast

On white

12.90
#232087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#232087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232087
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232087#FFFFFF#000000##FFFFFF
##2320871.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368A
Deuteranopia (green-blind)
#002D85
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #232087;
/* rgb */ color: rgb(35, 32, 135);
/* oklch */ color: oklch(33.1% 0.164 274.1);
Tailwind
colors: {
  custom: {
    50: '#6f5dab',
    500: '#232087',
    950: '#000000',
  },
}
SCSS
$custom: #232087;
$custom-light: #6f5dab;
$custom-dark: #000000;
JSON
{
  "hex": "#232087",
  "rgb": {
    "r": 35,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 241.748,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33112,
    "c": 0.16359,
    "h": 274.1
  },
  "luminance": 0.0314
}

Semantic roles & 50–950 ramp

primary
#232087
secondary
#B4B84B
accent
#E543E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #232087

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

Preview Lab → · Contrast checker → · Palette generator →

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