#232197#232197

#232197 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.183 H 272.5°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#232197
RGBrgb(35, 33, 151)
HSLhsl(241, 64%, 36%)
HSVhsv(241, 78%, 59%)
CMYKcmyk(76.8%, 78.1%, 0%, 40.8%)
CIE-LABlab(22.58, 41.49, -63.08)
CIE-LCHlch(22.58, 75.50, 303.34°)
OKLaboklab(35.04% 0.0079 -0.1826)
OKLCHoklch(35.04% 0.183 272.5)
XYZxyz(6.8210, 3.6787, 29.6227)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232197 #959721
analogous
#215A97 #232197 #5E2197
triadic
#232197 #972321 #219723
tetradic
#232197 #97215A #959721 #21975E
square
#232197 #97215A #959721 #21975E
split-complementary
#232197 #975E21 #5A9721
monochromatic
#0C0B33 #171665 #232197 #2F2CC9 #5A58DA

Accessibility & contrast

On white

12.10
#232197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#232197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232197
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232197#FFFFFF#000000##FFFFFF
##2321971.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9A
Deuteranopia (green-blind)
#003095
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #232197;
/* rgb */ color: rgb(35, 33, 151);
/* oklch */ color: oklch(35.0% 0.183 272.5);
Tailwind
colors: {
  custom: {
    50: '#735eb7',
    500: '#232197',
    950: '#000000',
  },
}
SCSS
$custom: #232197;
$custom-light: #735eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#232197",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 241.017,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35044,
    "c": 0.18273,
    "h": 272.5
  },
  "luminance": 0.03679
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #232197

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

Preview Lab → · Contrast checker → · Palette generator →

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