#232188#232188

#232188 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.164 H 273.8°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#232188
RGBrgb(35, 33, 136)
HSLhsl(241, 61%, 33%)
HSVhsv(241, 76%, 53%)
CMYKcmyk(74.3%, 75.7%, 0%, 46.7%)
CIE-LABlab(20.91, 36.37, -56.51)
CIE-LCHlch(20.91, 67.21, 302.76°)
OKLaboklab(33.37% 0.0109 -0.1635)
OKLCHoklch(33.37% 0.164 273.8)
XYZxyz(5.6794, 3.2220, 23.6104)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232188 #868821
analogous
#215288 #232188 #562188
triadic
#232188 #882321 #218823
tetradic
#232188 #882152 #868821 #218856
square
#232188 #882152 #868821 #218856
split-complementary
#232188 #885621 #528821
monochromatic
#0A0925 #161557 #232188 #302DB9 #524FD4

Accessibility & contrast

On white

12.77
#232188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232188
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232188#FFFFFF#000000##FFFFFF
##2321881.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378B
Deuteranopia (green-blind)
#002D86
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #232188;
/* rgb */ color: rgb(35, 33, 136);
/* oklch */ color: oklch(33.4% 0.164 273.8);
Tailwind
colors: {
  custom: {
    50: '#6f5eac',
    500: '#232188',
    950: '#000000',
  },
}
SCSS
$custom: #232188;
$custom-light: #6f5eac;
$custom-dark: #000000;
JSON
{
  "hex": "#232188",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 241.165,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33372,
    "c": 0.16383,
    "h": 273.8
  },
  "luminance": 0.03223
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #232188

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

Preview Lab → · Contrast checker → · Palette generator →

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