#223D76#223D76

#223D76 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.2% C 0.103 H 263.2°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#223D76
RGBrgb(34, 61, 118)
HSLhsl(221, 55%, 30%)
HSVhsv(221, 71%, 46%)
CMYKcmyk(71.2%, 48.3%, 0%, 53.7%)
CIE-LABlab(26.69, 10.51, -35.76)
CIE-LCHlch(26.69, 37.27, 286.38°)
OKLaboklab(37.16% -0.0122 -0.1024)
OKLCHoklch(37.16% 0.103 263.2)
XYZxyz(5.5973, 4.9850, 17.8032)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D76 #765B22
analogous
#226776 #223D76 #312276
triadic
#223D76 #76223D #3D7622
tetradic
#223D76 #762267 #765B22 #227631
square
#223D76 #762267 #765B22 #227631
split-complementary
#223D76 #763122 #677622
monochromatic
#070C18 #142446 #223D76 #3056A6 #4872CA

Accessibility & contrast

On white

10.51
#223D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#223D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223D76
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D76#FFFFFF#000000##FFFFFF
##223D761.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204378
Deuteranopia (green-blind)
#0F3B75
Tritanopia (blue-blind)
#004A53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #223d76;
/* rgb */ color: rgb(34, 61, 118);
/* oklch */ color: oklch(37.2% 0.103 263.2);
Tailwind
colors: {
  custom: {
    50: '#68729e',
    500: '#223d76',
    950: '#000000',
  },
}
SCSS
$custom: #223d76;
$custom-light: #68729e;
$custom-dark: #000000;
JSON
{
  "hex": "#223d76",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 118
  },
  "hsl": {
    "h": 220.714,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37158,
    "c": 0.10309,
    "h": 263.2
  },
  "luminance": 0.04986
}

Semantic roles & 50–950 ramp

primary
#223D76
secondary
#A98B4B
accent
#AF49DF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #223D76

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

Preview Lab → · Contrast checker → · Palette generator →

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