#223C74#223C74

#223C74 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.8% C 0.101 H 263.5°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#223C74
RGBrgb(34, 60, 116)
HSLhsl(221, 55%, 29%)
HSVhsv(221, 71%, 45%)
CMYKcmyk(70.7%, 48.3%, 0%, 54.5%)
CIE-LABlab(26.25, 10.42, -35.20)
CIE-LCHlch(26.25, 36.71, 286.48°)
OKLaboklab(36.78% -0.0115 -0.1007)
OKLCHoklch(36.78% 0.101 263.5)
XYZxyz(5.4268, 4.8322, 17.1663)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C74 #745A22
analogous
#226574 #223C74 #312274
triadic
#223C74 #74223C #3C7422
tetradic
#223C74 #742265 #745A22 #227431
square
#223C74 #742265 #745A22 #227431
split-complementary
#223C74 #743122 #657422
monochromatic
#070C18 #142445 #223C74 #3054A3 #4770C9

Accessibility & contrast

On white

10.68
#223C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223C74
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C74#FFFFFF#000000##FFFFFF
##223C741.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204276
Deuteranopia (green-blind)
#0F3B73
Tritanopia (blue-blind)
#004952
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223c74;
/* rgb */ color: rgb(34, 60, 116);
/* oklch */ color: oklch(36.8% 0.101 263.5);
Tailwind
colors: {
  custom: {
    50: '#67719c',
    500: '#223c74',
    950: '#000000',
  },
}
SCSS
$custom: #223c74;
$custom-light: #67719c;
$custom-dark: #000000;
JSON
{
  "hex": "#223c74",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 116
  },
  "hsl": {
    "h": 220.976,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36776,
    "c": 0.10139,
    "h": 263.5
  },
  "luminance": 0.04833
}

Semantic roles & 50–950 ramp

primary
#223C74
secondary
#A78A4B
accent
#AF4ADE
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #223C74

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

Preview Lab → · Contrast checker → · Palette generator →

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