#223C84#223C84

#223C84 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.0% C 0.125 H 265.7°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#223C84
RGBrgb(34, 60, 132)
HSLhsl(224, 59%, 33%)
HSVhsv(224, 74%, 52%)
CMYKcmyk(74.2%, 54.5%, 0%, 48.2%)
CIE-LABlab(27.40, 16.76, -43.41)
CIE-LCHlch(27.40, 46.53, 291.11°)
OKLaboklab(38.02% -0.0093 -0.1249)
OKLCHoklch(38.02% 0.125 265.7)
XYZxyz(6.4389, 5.2371, 22.4968)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C84 #846A22
analogous
#226D84 #223C84 #392284
triadic
#223C84 #84223C #3C8422
tetradic
#223C84 #84226D #846A22 #228439
square
#223C84 #84226D #846A22 #228439
split-complementary
#223C84 #843922 #6D8422
monochromatic
#091023 #152653 #223C84 #2F52B5 #4F71D2

Accessibility & contrast

On white

10.26
#223C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#223C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223C84
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C84#FFFFFF#000000##FFFFFF
##223C841.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094587
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223c84;
/* rgb */ color: rgb(34, 60, 132);
/* oklch */ color: oklch(38.0% 0.125 265.7);
Tailwind
colors: {
  custom: {
    50: '#6b71a8',
    500: '#223c84',
    950: '#000000',
  },
}
SCSS
$custom: #223c84;
$custom-light: #6b71a8;
$custom-dark: #000000;
JSON
{
  "hex": "#223c84",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 132
  },
  "hsl": {
    "h": 224.082,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38018,
    "c": 0.12525,
    "h": 265.7
  },
  "luminance": 0.05238
}

Semantic roles & 50–950 ramp

primary
#223C84
secondary
#B5994D
accent
#B946E2
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #223C84

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

Preview Lab → · Contrast checker → · Palette generator →

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