#232187#232187

#232187 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.163 H 273.9°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#232187
RGBrgb(35, 33, 135)
HSLhsl(241, 61%, 33%)
HSVhsv(241, 76%, 53%)
CMYKcmyk(74.1%, 75.6%, 0%, 47.1%)
CIE-LABlab(20.80, 36.02, -56.07)
CIE-LCHlch(20.80, 66.64, 302.72°)
OKLaboklab(33.26% 0.0111 -0.1622)
OKLCHoklch(33.26% 0.163 273.9)
XYZxyz(5.6087, 3.1938, 23.2378)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232187 #858721
analogous
#215287 #232187 #562187
triadic
#232187 #872321 #218723
tetradic
#232187 #872152 #858721 #218756
square
#232187 #872152 #858721 #218756
split-complementary
#232187 #875621 #528721
monochromatic
#090925 #161556 #232187 #302DB8 #514FD4

Accessibility & contrast

On white

12.81
#232187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#232187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232187
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232187#FFFFFF#000000##FFFFFF
##2321871.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #232187;
/* rgb */ color: rgb(35, 33, 135);
/* oklch */ color: oklch(33.3% 0.163 273.9);
Tailwind
colors: {
  custom: {
    50: '#6f5eab',
    500: '#232187',
    950: '#000000',
  },
}
SCSS
$custom: #232187;
$custom-light: #6f5eab;
$custom-dark: #000000;
JSON
{
  "hex": "#232187",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 241.176,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33262,
    "c": 0.16255,
    "h": 273.9
  },
  "luminance": 0.03194
}

Semantic roles & 50–950 ramp

primary
#232187
secondary
#B5B74D
accent
#E444E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #232187

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

Preview Lab → · Contrast checker → · Palette generator →

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