#223D79#223D79

#223D79 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.4% C 0.108 H 263.8°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#223D79
RGBrgb(34, 61, 121)
HSLhsl(221, 56%, 30%)
HSVhsv(221, 72%, 47%)
CMYKcmyk(71.9%, 49.6%, 0%, 52.5%)
CIE-LABlab(26.90, 11.70, -37.32)
CIE-LCHlch(26.90, 39.11, 287.40°)
OKLaboklab(37.38% -0.0117 -0.107)
OKLCHoklch(37.38% 0.108 263.8)
XYZxyz(5.7784, 5.0575, 18.7571)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D79 #795E22
analogous
#226879 #223D79 #322279
triadic
#223D79 #79223D #3D7922
tetradic
#223D79 #792268 #795E22 #227932
square
#223D79 #792268 #795E22 #227932
split-complementary
#223D79 #793222 #687922
monochromatic
#070D19 #152549 #223D79 #2F55A9 #4972CC

Accessibility & contrast

On white

10.44
#223D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#223D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223D79
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D79#FFFFFF#000000##FFFFFF
##223D791.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D447B
Deuteranopia (green-blind)
#083C78
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223d79;
/* rgb */ color: rgb(34, 61, 121);
/* oklch */ color: oklch(37.4% 0.108 263.8);
Tailwind
colors: {
  custom: {
    50: '#6972a0',
    500: '#223d79',
    950: '#000000',
  },
}
SCSS
$custom: #223d79;
$custom-light: #6972a0;
$custom-dark: #000000;
JSON
{
  "hex": "#223d79",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 121
  },
  "hsl": {
    "h": 221.379,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37381,
    "c": 0.1076,
    "h": 263.8
  },
  "luminance": 0.05058
}

Semantic roles & 50–950 ramp

primary
#223D79
secondary
#AC8E4B
accent
#B148DF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #223D79

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

Preview Lab → · Contrast checker → · Palette generator →

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