#223C79#223C79

#223C79 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.2% C 0.109 H 264.4°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#223C79
RGBrgb(34, 60, 121)
HSLhsl(222, 56%, 30%)
HSVhsv(222, 72%, 47%)
CMYKcmyk(71.9%, 50.4%, 0%, 52.5%)
CIE-LABlab(26.60, 12.40, -37.81)
CIE-LCHlch(26.60, 39.79, 288.15°)
OKLaboklab(37.15% -0.0107 -0.1084)
OKLCHoklch(37.15% 0.109 264.4)
XYZxyz(5.7255, 4.9517, 18.7395)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C79 #795F22
analogous
#226779 #223C79 #332279
triadic
#223C79 #79223C #3C7922
tetradic
#223C79 #792267 #795F22 #227933
square
#223C79 #792267 #795F22 #227933
split-complementary
#223C79 #793322 #677922
monochromatic
#070D19 #152449 #223C79 #2F54A9 #4970CC

Accessibility & contrast

On white

10.55
#223C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223C79
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C79#FFFFFF#000000##FFFFFF
##223C791.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B437B
Deuteranopia (green-blind)
#043B78
Tritanopia (blue-blind)
#004A54
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #223c79;
/* rgb */ color: rgb(34, 60, 121);
/* oklch */ color: oklch(37.2% 0.109 264.4);
Tailwind
colors: {
  custom: {
    50: '#6971a0',
    500: '#223c79',
    950: '#000000',
  },
}
SCSS
$custom: #223c79;
$custom-light: #6971a0;
$custom-dark: #000000;
JSON
{
  "hex": "#223c79",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 121
  },
  "hsl": {
    "h": 222.069,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37151,
    "c": 0.10893,
    "h": 264.4
  },
  "luminance": 0.04952
}

Semantic roles & 50–950 ramp

primary
#223C79
secondary
#AC8F4B
accent
#B248DF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #223C79

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

Preview Lab → · Contrast checker → · Palette generator →

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