#223688#223688

#223688 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.1% C 0.139 H 268.3°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#223688
RGBrgb(34, 54, 136)
HSLhsl(228, 60%, 33%)
HSVhsv(228, 75%, 53%)
CMYKcmyk(75%, 60.3%, 0%, 46.7%)
CIE-LABlab(26.03, 22.49, -48.13)
CIE-LCHlch(26.03, 53.13, 295.05°)
OKLaboklab(37.09% -0.0041 -0.1389)
OKLCHoklch(37.09% 0.139 268.3)
XYZxyz(6.4213, 4.7553, 23.8672)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223688 #887422
analogous
#226988 #223688 #412288
triadic
#223688 #882236 #368822
tetradic
#223688 #882269 #887422 #228841
square
#223688 #882269 #887422 #228841
split-complementary
#223688 #884122 #698822
monochromatic
#0A0F26 #162357 #223688 #2E49B9 #516BD3

Accessibility & contrast

On white

10.76
#223688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223688
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223688#FFFFFF#000000##FFFFFF
##2236881.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#003986
Tritanopia (blue-blind)
#004B59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223688;
/* rgb */ color: rgb(34, 54, 136);
/* oklch */ color: oklch(37.1% 0.139 268.3);
Tailwind
colors: {
  custom: {
    50: '#6d6cab',
    500: '#223688',
    950: '#000000',
  },
}
SCSS
$custom: #223688;
$custom-light: #6d6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#223688",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 136
  },
  "hsl": {
    "h": 228.235,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37086,
    "c": 0.13894,
    "h": 268.3
  },
  "luminance": 0.04756
}

Semantic roles & 50–950 ramp

primary
#223688
secondary
#B7A34F
accent
#C445E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #223688

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

Preview Lab → · Contrast checker → · Palette generator →

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