#223C80#223C80

#223C80 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.7% C 0.119 H 265.3°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#223C80
RGBrgb(34, 60, 128)
HSLhsl(223, 58%, 32%)
HSVhsv(223, 73%, 50%)
CMYKcmyk(73.4%, 53.1%, 0%, 49.8%)
CIE-LABlab(27.10, 15.17, -41.39)
CIE-LCHlch(27.10, 44.09, 290.13°)
OKLaboklab(37.7% -0.0098 -0.119)
OKLCHoklch(37.7% 0.119 265.3)
XYZxyz(6.1705, 5.1297, 21.0828)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C80 #806622
analogous
#226B80 #223C80 #372280
triadic
#223C80 #80223C #3C8022
tetradic
#223C80 #80226B #806622 #228037
square
#223C80 #80226B #806622 #228037
split-complementary
#223C80 #803722 #6B8022
monochromatic
#080F1F #152550 #223C80 #2F53B0 #4D71D0

Accessibility & contrast

On white

10.37
#223C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#223C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223C80
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C80#FFFFFF#000000##FFFFFF
##223C801.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114582
Deuteranopia (green-blind)
#003C7F
Tritanopia (blue-blind)
#004C58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223c80;
/* rgb */ color: rgb(34, 60, 128);
/* oklch */ color: oklch(37.7% 0.119 265.3);
Tailwind
colors: {
  custom: {
    50: '#6a71a5',
    500: '#223c80',
    950: '#000000',
  },
}
SCSS
$custom: #223c80;
$custom-light: #6a71a5;
$custom-dark: #000000;
JSON
{
  "hex": "#223c80",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 128
  },
  "hsl": {
    "h": 223.404,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37697,
    "c": 0.11937,
    "h": 265.3
  },
  "luminance": 0.0513
}

Semantic roles & 50–950 ramp

primary
#223C80
secondary
#B2964B
accent
#B647E1
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #223C80

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

Preview Lab → · Contrast checker → · Palette generator →

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