#223C88#223C88

#223C88 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.131 H 266.1°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#223C88
RGBrgb(34, 60, 136)
HSLhsl(225, 60%, 33%)
HSVhsv(225, 75%, 53%)
CMYKcmyk(75%, 55.9%, 0%, 46.7%)
CIE-LABlab(27.71, 18.34, -45.40)
CIE-LCHlch(27.71, 48.97, 292.00°)
OKLaboklab(38.35% -0.009 -0.1308)
OKLCHoklch(38.35% 0.131 266.1)
XYZxyz(6.7179, 5.3487, 23.9661)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C88 #886E22
analogous
#226F88 #223C88 #3B2288
triadic
#223C88 #88223C #3C8822
tetradic
#223C88 #88226F #886E22 #22883B
square
#223C88 #88226F #886E22 #22883B
split-complementary
#223C88 #883B22 #6F8822
monochromatic
#0A1126 #162657 #223C88 #2E52B9 #5172D3

Accessibility & contrast

On white

10.15
#223C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#223C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223C88
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C88#FFFFFF#000000##FFFFFF
##223C881.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#003D86
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223c88;
/* rgb */ color: rgb(34, 60, 136);
/* oklch */ color: oklch(38.3% 0.131 266.1);
Tailwind
colors: {
  custom: {
    50: '#6c71ab',
    500: '#223c88',
    950: '#000000',
  },
}
SCSS
$custom: #223c88;
$custom-light: #6c71ab;
$custom-dark: #000000;
JSON
{
  "hex": "#223c88",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 136
  },
  "hsl": {
    "h": 224.706,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38346,
    "c": 0.13107,
    "h": 266.1
  },
  "luminance": 0.05349
}

Semantic roles & 50–950 ramp

primary
#223C88
secondary
#B79C4F
accent
#BB45E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #223C88

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

Preview Lab → · Contrast checker → · Palette generator →

#223C88 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva