#223E78#223E78

#223E78 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.5% C 0.105 H 263.0°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#223E78
RGBrgb(34, 62, 120)
HSLhsl(220, 56%, 30%)
HSVhsv(220, 72%, 47%)
CMYKcmyk(71.7%, 48.3%, 0%, 52.9%)
CIE-LABlab(27.13, 10.61, -36.31)
CIE-LCHlch(27.13, 37.83, 286.29°)
OKLaboklab(37.54% -0.0128 -0.104)
OKLCHoklch(37.54% 0.105 263)
XYZxyz(5.7713, 5.1408, 18.4538)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E78 #785C22
analogous
#226978 #223E78 #312278
triadic
#223E78 #78223E #3E7822
tetradic
#223E78 #782269 #785C22 #227831
square
#223E78 #782269 #785C22 #227831
split-complementary
#223E78 #783122 #697822
monochromatic
#070D19 #142548 #223E78 #3057A8 #4973CB

Accessibility & contrast

On white

10.35
#223E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223E78
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E78#FFFFFF#000000##FFFFFF
##223E781.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20447A
Deuteranopia (green-blind)
#0E3C77
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223e78;
/* rgb */ color: rgb(34, 62, 120);
/* oklch */ color: oklch(37.5% 0.105 263.0);
Tailwind
colors: {
  custom: {
    50: '#68729f',
    500: '#223e78',
    950: '#000000',
  },
}
SCSS
$custom: #223e78;
$custom-light: #68729f;
$custom-dark: #000000;
JSON
{
  "hex": "#223e78",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 120
  },
  "hsl": {
    "h": 220.465,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37539,
    "c": 0.10478,
    "h": 263
  },
  "luminance": 0.05141
}

Semantic roles & 50–950 ramp

primary
#223E78
secondary
#AB8C4B
accent
#AE49DF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #223E78

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

Preview Lab → · Contrast checker → · Palette generator →

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