#223D74#223D74

#223D74 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.0% C 0.100 H 262.8°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#223D74
RGBrgb(34, 61, 116)
HSLhsl(220, 55%, 29%)
HSVhsv(220, 71%, 45%)
CMYKcmyk(70.7%, 47.4%, 0%, 54.5%)
CIE-LABlab(26.56, 9.72, -34.71)
CIE-LCHlch(26.56, 36.04, 285.64°)
OKLaboklab(37.01% -0.0125 -0.0993)
OKLCHoklch(37.01% 0.1 262.8)
XYZxyz(5.4797, 4.9380, 17.1840)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D74 #745922
analogous
#226674 #223D74 #302274
triadic
#223D74 #74223D #3D7422
tetradic
#223D74 #742266 #745922 #227430
square
#223D74 #742266 #745922 #227430
split-complementary
#223D74 #743022 #667422
monochromatic
#070C18 #142445 #223D74 #3056A3 #4772C9

Accessibility & contrast

On white

10.56
#223D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223D74
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D74#FFFFFF#000000##FFFFFF
##223D741.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224376
Deuteranopia (green-blind)
#123B73
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #223d74;
/* rgb */ color: rgb(34, 61, 116);
/* oklch */ color: oklch(37.0% 0.100 262.8);
Tailwind
colors: {
  custom: {
    50: '#67729c',
    500: '#223d74',
    950: '#000000',
  },
}
SCSS
$custom: #223d74;
$custom-light: #67729c;
$custom-dark: #000000;
JSON
{
  "hex": "#223d74",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 116
  },
  "hsl": {
    "h": 220.244,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37011,
    "c": 0.10007,
    "h": 262.8
  },
  "luminance": 0.04939
}

Semantic roles & 50–950 ramp

primary
#223D74
secondary
#A7894B
accent
#AD4ADE
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #223D74

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

Preview Lab → · Contrast checker → · Palette generator →

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