#223C78#223C78

#223C78 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.1% C 0.107 H 264.2°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#223C78
RGBrgb(34, 60, 120)
HSLhsl(222, 56%, 30%)
HSVhsv(222, 72%, 47%)
CMYKcmyk(71.7%, 50%, 0%, 52.9%)
CIE-LABlab(26.53, 12.00, -37.29)
CIE-LCHlch(26.53, 39.17, 287.84°)
OKLaboklab(37.08% -0.0108 -0.1069)
OKLCHoklch(37.08% 0.107 264.2)
XYZxyz(5.6645, 4.9273, 18.4182)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C78 #785E22
analogous
#226778 #223C78 #332278
triadic
#223C78 #78223C #3C7822
tetradic
#223C78 #782267 #785E22 #227833
square
#223C78 #782267 #785E22 #227833
split-complementary
#223C78 #783322 #677822
monochromatic
#070C19 #142448 #223C78 #3054A8 #4970CB

Accessibility & contrast

On white

10.58
#223C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#223C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223C78
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C78#FFFFFF#000000##FFFFFF
##223C781.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C437A
Deuteranopia (green-blind)
#063B77
Tritanopia (blue-blind)
#004A54
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #223c78;
/* rgb */ color: rgb(34, 60, 120);
/* oklch */ color: oklch(37.1% 0.107 264.2);
Tailwind
colors: {
  custom: {
    50: '#68719f',
    500: '#223c78',
    950: '#000000',
  },
}
SCSS
$custom: #223c78;
$custom-light: #68719f;
$custom-dark: #000000;
JSON
{
  "hex": "#223c78",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 120
  },
  "hsl": {
    "h": 221.86,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37075,
    "c": 0.10744,
    "h": 264.2
  },
  "luminance": 0.04928
}

Semantic roles & 50–950 ramp

primary
#223C78
secondary
#AB8E4B
accent
#B249DF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #223C78

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

Preview Lab → · Contrast checker → · Palette generator →

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