#223C72#223C72

#223C72 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.6% C 0.098 H 263.1°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#223C72
RGBrgb(34, 60, 114)
HSLhsl(221, 54%, 29%)
HSVhsv(221, 70%, 45%)
CMYKcmyk(70.2%, 47.4%, 0%, 55.3%)
CIE-LABlab(26.12, 9.62, -34.14)
CIE-LCHlch(26.12, 35.47, 285.74°)
OKLaboklab(36.63% -0.0118 -0.0976)
OKLCHoklch(36.63% 0.098 263.1)
XYZxyz(5.3117, 4.7862, 16.5602)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C72 #725822
analogous
#226472 #223C72 #302272
triadic
#223C72 #72223C #3C7222
tetradic
#223C72 #722264 #725822 #227230
square
#223C72 #722264 #725822 #227230
split-complementary
#223C72 #723022 #647222
monochromatic
#070C18 #142343 #223C72 #3055A1 #4671C8

Accessibility & contrast

On white

10.73
#223C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#223C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223C72
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C72#FFFFFF#000000##FFFFFF
##223C721.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214274
Deuteranopia (green-blind)
#133A71
Tritanopia (blue-blind)
#004851
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223c72;
/* rgb */ color: rgb(34, 60, 114);
/* oklch */ color: oklch(36.6% 0.098 263.1);
Tailwind
colors: {
  custom: {
    50: '#67719b',
    500: '#223c72',
    950: '#000000',
  },
}
SCSS
$custom: #223c72;
$custom-light: #67719b;
$custom-dark: #000000;
JSON
{
  "hex": "#223c72",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 114
  },
  "hsl": {
    "h": 220.5,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36629,
    "c": 0.09836,
    "h": 263.1
  },
  "luminance": 0.04787
}

Semantic roles & 50–950 ramp

primary
#223C72
secondary
#A5884B
accent
#AE4ADD
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #223C72

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

Preview Lab → · Contrast checker → · Palette generator →

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