#232196#232196

#232196 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.181 H 272.5°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#232196
RGBrgb(35, 33, 150)
HSLhsl(241, 64%, 36%)
HSVhsv(241, 78%, 59%)
CMYKcmyk(76.7%, 78%, 0%, 41.2%)
CIE-LABlab(22.47, 41.16, -62.65)
CIE-LCHlch(22.47, 74.96, 303.30°)
OKLaboklab(34.93% 0.0081 -0.1813)
OKLCHoklch(34.93% 0.182 272.5)
XYZxyz(6.7402, 3.6463, 29.1968)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232196 #949621
analogous
#215996 #232196 #5D2196
triadic
#232196 #962321 #219623
tetradic
#232196 #962159 #949621 #21965D
square
#232196 #962159 #949621 #21965D
split-complementary
#232196 #965D21 #599621
monochromatic
#0C0B32 #171664 #232196 #2F2CC8 #5A57DA

Accessibility & contrast

On white

12.14
#232196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#232196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232196
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232196#FFFFFF#000000##FFFFFF
##2321961.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#003094
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #232196;
/* rgb */ color: rgb(35, 33, 150);
/* oklch */ color: oklch(34.9% 0.181 272.5);
Tailwind
colors: {
  custom: {
    50: '#725eb6',
    500: '#232196',
    950: '#000000',
  },
}
SCSS
$custom: #232196;
$custom-light: #725eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#232196",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 241.026,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34931,
    "c": 0.1815,
    "h": 272.5
  },
  "luminance": 0.03647
}

Semantic roles & 50–950 ramp

primary
#232196
secondary
#BCBE55
accent
#E741E4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #232196

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

Preview Lab → · Contrast checker → · Palette generator →

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