#223588#223588

#223588 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.140 H 268.6°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#223588
RGBrgb(34, 53, 136)
HSLhsl(229, 60%, 33%)
HSVhsv(229, 75%, 53%)
CMYKcmyk(75%, 61%, 0%, 46.7%)
CIE-LABlab(25.75, 23.18, -48.58)
CIE-LCHlch(25.75, 53.82, 295.51°)
OKLaboklab(36.88% -0.0033 -0.1402)
OKLCHoklch(36.88% 0.14 268.6)
XYZxyz(6.3752, 4.6632, 23.8519)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223588 #887522
analogous
#226888 #223588 #422288
triadic
#223588 #882235 #358822
tetradic
#223588 #882268 #887522 #228842
square
#223588 #882268 #887522 #228842
split-complementary
#223588 #884222 #688822
monochromatic
#0A0F26 #162257 #223588 #2E48B9 #5169D3

Accessibility & contrast

On white

10.87
#223588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#223588 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223588
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223588#FFFFFF#000000##FFFFFF
##2235881.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#003886
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #223588;
/* rgb */ color: rgb(34, 53, 136);
/* oklch */ color: oklch(36.9% 0.140 268.6);
Tailwind
colors: {
  custom: {
    50: '#6d6cab',
    500: '#223588',
    950: '#000000',
  },
}
SCSS
$custom: #223588;
$custom-light: #6d6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#223588",
  "rgb": {
    "r": 34,
    "g": 53,
    "b": 136
  },
  "hsl": {
    "h": 228.824,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36882,
    "c": 0.14024,
    "h": 268.6
  },
  "luminance": 0.04664
}

Semantic roles & 50–950 ramp

primary
#223588
secondary
#B7A44F
accent
#C645E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #223588

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

Preview Lab → · Contrast checker → · Palette generator →

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