#223196#223196

#223196 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.165 H 269.6°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#223196
RGBrgb(34, 49, 150)
HSLhsl(232, 63%, 36%)
HSVhsv(232, 77%, 59%)
CMYKcmyk(77.3%, 67.3%, 0%, 41.2%)
CIE-LABlab(25.97, 31.23, -56.87)
CIE-LCHlch(25.97, 64.88, 298.78°)
OKLaboklab(37.44% -0.0011 -0.1645)
OKLCHoklch(37.44% 0.165 269.6)
XYZxyz(7.2611, 4.7379, 29.3801)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223196 #968722
analogous
#226B96 #223196 #4D2296
triadic
#223196 #962231 #319622
tetradic
#223196 #96226B #968722 #22964D
square
#223196 #96226B #968722 #22964D
split-complementary
#223196 #964D22 #6B9622
monochromatic
#0B1032 #172164 #223196 #2D41C8 #596AD9

Accessibility & contrast

On white

10.78
#223196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223196
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223196#FFFFFF#000000##FFFFFF
##2231961.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #223196;
/* rgb */ color: rgb(34, 49, 150);
/* oklch */ color: oklch(37.4% 0.165 269.6);
Tailwind
colors: {
  custom: {
    50: '#7169b6',
    500: '#223196',
    950: '#000000',
  },
}
SCSS
$custom: #223196;
$custom-light: #7169b6;
$custom-dark: #000000;
JSON
{
  "hex": "#223196",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 232.241,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37435,
    "c": 0.16454,
    "h": 269.6
  },
  "luminance": 0.04739
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #223196

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

Preview Lab → · Contrast checker → · Palette generator →

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