#223D71#223D71

#223D71 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.8% C 0.096 H 262.1°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#223D71
RGBrgb(34, 61, 113)
HSLhsl(219, 54%, 29%)
HSVhsv(219, 70%, 44%)
CMYKcmyk(69.9%, 46%, 0%, 55.7%)
CIE-LABlab(26.36, 8.54, -33.12)
CIE-LCHlch(26.36, 34.20, 284.45°)
OKLaboklab(36.79% -0.0131 -0.0946)
OKLCHoklch(36.79% 0.096 262.1)
XYZxyz(5.3080, 4.8693, 16.2797)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D71 #715622
analogous
#226571 #223D71 #2F2271
triadic
#223D71 #71223D #3D7122
tetradic
#223D71 #712265 #715622 #22712F
square
#223D71 #712265 #715622 #22712F
split-complementary
#223D71 #712F22 #657122
monochromatic
#070D18 #142442 #223D71 #3056A0 #4672C7

Accessibility & contrast

On white

10.64
#223D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#223D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223D71
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D71#FFFFFF#000000##FFFFFF
##223D711.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244273
Deuteranopia (green-blind)
#173B70
Tritanopia (blue-blind)
#004951
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223d71;
/* rgb */ color: rgb(34, 61, 113);
/* oklch */ color: oklch(36.8% 0.096 262.1);
Tailwind
colors: {
  custom: {
    50: '#67729a',
    500: '#223d71',
    950: '#000000',
  },
}
SCSS
$custom: #223d71;
$custom-light: #67729a;
$custom-dark: #000000;
JSON
{
  "hex": "#223d71",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 113
  },
  "hsl": {
    "h": 219.494,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36794,
    "c": 0.09551,
    "h": 262.1
  },
  "luminance": 0.0487
}

Semantic roles & 50–950 ramp

primary
#223D71
secondary
#A4864A
accent
#AB4BDD
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #223D71

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

Preview Lab → · Contrast checker → · Palette generator →

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