#232191#232191

#232191 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.175 H 273.0°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#232191
RGBrgb(35, 33, 145)
HSLhsl(241, 63%, 35%)
HSVhsv(241, 77%, 57%)
CMYKcmyk(75.9%, 77.2%, 0%, 43.1%)
CIE-LABlab(21.90, 39.47, -60.49)
CIE-LCHlch(21.90, 72.22, 303.12°)
OKLaboklab(34.37% 0.0091 -0.175)
OKLCHoklch(34.37% 0.175 273)
XYZxyz(6.3461, 3.4887, 27.1215)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232191 #8F9121
analogous
#215791 #232191 #5B2191
triadic
#232191 #912321 #219123
tetradic
#232191 #912157 #8F9121 #21915B
square
#232191 #912157 #8F9121 #21915B
split-complementary
#232191 #915B21 #579121
monochromatic
#0B0A2D #17165F #232191 #2F2CC3 #5754D8

Accessibility & contrast

On white

12.37
#232191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#232191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232191
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232191#FFFFFF#000000##FFFFFF
##2321911.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A94
Deuteranopia (green-blind)
#002F8F
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #232191;
/* rgb */ color: rgb(35, 33, 145);
/* oklch */ color: oklch(34.4% 0.175 273.0);
Tailwind
colors: {
  custom: {
    50: '#715eb2',
    500: '#232191',
    950: '#000000',
  },
}
SCSS
$custom: #232191;
$custom-light: #715eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#232191",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 145
  },
  "hsl": {
    "h": 241.071,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34368,
    "c": 0.17528,
    "h": 273
  },
  "luminance": 0.03489
}

Semantic roles & 50–950 ramp

primary
#232191
secondary
#BABC52
accent
#E642E3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #232191

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

Preview Lab → · Contrast checker → · Palette generator →

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