#223197#223197

#223197 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.166 H 269.6°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#223197
RGBrgb(34, 49, 151)
HSLhsl(232, 63%, 36%)
HSVhsv(232, 77%, 59%)
CMYKcmyk(77.5%, 67.5%, 0%, 40.8%)
CIE-LABlab(26.07, 31.61, -57.33)
CIE-LCHlch(26.07, 65.46, 298.87°)
OKLaboklab(37.53% -0.0011 -0.1659)
OKLCHoklch(37.53% 0.166 269.6)
XYZxyz(7.3420, 4.7703, 29.8060)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223197 #978822
analogous
#226C97 #223197 #4E2297
triadic
#223197 #972231 #319722
tetradic
#223197 #97226C #978822 #22974E
square
#223197 #97226C #978822 #22974E
split-complementary
#223197 #974E22 #6C9722
monochromatic
#0C1133 #172165 #223197 #2D41C9 #5A6ADA

Accessibility & contrast

On white

10.75
#223197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#223197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223197
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223197#FFFFFF#000000##FFFFFF
##2231971.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223197;
/* rgb */ color: rgb(34, 49, 151);
/* oklch */ color: oklch(37.5% 0.166 269.6);
Tailwind
colors: {
  custom: {
    50: '#7169b7',
    500: '#223197',
    950: '#000000',
  },
}
SCSS
$custom: #223197;
$custom-light: #7169b7;
$custom-dark: #000000;
JSON
{
  "hex": "#223197",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 151
  },
  "hsl": {
    "h": 232.308,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37533,
    "c": 0.16588,
    "h": 269.6
  },
  "luminance": 0.04771
}

Semantic roles & 50–950 ramp

primary
#223197
secondary
#BEB157
accent
#D142E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #223197

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

Preview Lab → · Contrast checker → · Palette generator →

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