#223198#223198

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

Color values

HEX#223198
RGBrgb(34, 49, 152)
HSLhsl(232, 63%, 36%)
HSVhsv(232, 78%, 60%)
CMYKcmyk(77.6%, 67.8%, 0%, 40.4%)
CIE-LABlab(26.17, 31.98, -57.78)
CIE-LCHlch(26.17, 66.04, 298.96°)
OKLaboklab(37.63% -0.0012 -0.1672)
OKLCHoklch(37.63% 0.167 269.6)
XYZxyz(7.4236, 4.8029, 30.2355)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223198 #988922
analogous
#226C98 #223198 #4E2298
triadic
#223198 #982231 #319822
tetradic
#223198 #98226C #988922 #22984E
square
#223198 #98226C #988922 #22984E
split-complementary
#223198 #984E22 #6C9822
monochromatic
#0C1134 #172166 #223198 #2D41CA #5A6BDA

Accessibility & contrast

On white

10.71
#223198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#223198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223198
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223198#FFFFFF#000000##FFFFFF
##2231981.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#003896
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223198;
/* rgb */ color: rgb(34, 49, 152);
/* oklch */ color: oklch(37.6% 0.167 269.6);
Tailwind
colors: {
  custom: {
    50: '#7169b7',
    500: '#223198',
    950: '#000000',
  },
}
SCSS
$custom: #223198;
$custom-light: #7169b7;
$custom-dark: #000000;
JSON
{
  "hex": "#223198",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 152
  },
  "hsl": {
    "h": 232.373,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37632,
    "c": 0.16721,
    "h": 269.6
  },
  "luminance": 0.04804
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #223198

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

Preview Lab → · Contrast checker → · Palette generator →

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