#223E79#223E79

#223E79 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.6% C 0.106 H 263.2°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#223E79
RGBrgb(34, 62, 121)
HSLhsl(221, 56%, 30%)
HSVhsv(221, 72%, 47%)
CMYKcmyk(71.9%, 48.8%, 0%, 52.5%)
CIE-LABlab(27.20, 11.01, -36.84)
CIE-LCHlch(27.20, 38.44, 286.63°)
OKLaboklab(37.61% -0.0127 -0.1055)
OKLCHoklch(37.61% 0.106 263.2)
XYZxyz(5.8323, 5.1652, 18.7751)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E79 #795D22
analogous
#226979 #223E79 #322279
triadic
#223E79 #79223E #3E7922
tetradic
#223E79 #792269 #795D22 #227932
square
#223E79 #792269 #795D22 #227932
split-complementary
#223E79 #793222 #697922
monochromatic
#070D19 #152649 #223E79 #2F56A9 #4973CC

Accessibility & contrast

On white

10.33
#223E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223E79
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E79#FFFFFF#000000##FFFFFF
##223E791.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F457B
Deuteranopia (green-blind)
#0C3D78
Tritanopia (blue-blind)
#004C55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223e79;
/* rgb */ color: rgb(34, 62, 121);
/* oklch */ color: oklch(37.6% 0.106 263.2);
Tailwind
colors: {
  custom: {
    50: '#6972a0',
    500: '#223e79',
    950: '#000000',
  },
}
SCSS
$custom: #223e79;
$custom-light: #6972a0;
$custom-dark: #000000;
JSON
{
  "hex": "#223e79",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 121
  },
  "hsl": {
    "h": 220.69,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37613,
    "c": 0.10628,
    "h": 263.2
  },
  "luminance": 0.05166
}

Semantic roles & 50–950 ramp

primary
#223E79
secondary
#AC8D4B
accent
#AF48DF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #223E79

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

Preview Lab → · Contrast checker → · Palette generator →

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