#223C77#223C77

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

Color values

HEX#223C77
RGBrgb(34, 60, 119)
HSLhsl(222, 56%, 30%)
HSVhsv(222, 71%, 47%)
CMYKcmyk(71.4%, 49.6%, 0%, 53.3%)
CIE-LABlab(26.46, 11.60, -36.77)
CIE-LCHlch(26.46, 38.56, 287.52°)
OKLaboklab(37% -0.011 -0.1054)
OKLCHoklch(37% 0.106 264)
XYZxyz(5.6041, 4.9031, 18.1002)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C77 #775D22
analogous
#226777 #223C77 #322277
triadic
#223C77 #77223C #3C7722
tetradic
#223C77 #772267 #775D22 #227732
square
#223C77 #772267 #775D22 #227732
split-complementary
#223C77 #773222 #677722
monochromatic
#070C18 #142447 #223C77 #3054A7 #4970CB

Accessibility & contrast

On white

10.60
#223C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#223C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223C77
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C77#FFFFFF#000000##FFFFFF
##223C771.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4379
Deuteranopia (green-blind)
#093B76
Tritanopia (blue-blind)
#004A53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #223c77;
/* rgb */ color: rgb(34, 60, 119);
/* oklch */ color: oklch(37.0% 0.106 264.0);
Tailwind
colors: {
  custom: {
    50: '#68719f',
    500: '#223c77',
    950: '#000000',
  },
}
SCSS
$custom: #223c77;
$custom-light: #68719f;
$custom-dark: #000000;
JSON
{
  "hex": "#223c77",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 119
  },
  "hsl": {
    "h": 221.647,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.37,
    "c": 0.10593,
    "h": 264
  },
  "luminance": 0.04904
}

Semantic roles & 50–950 ramp

primary
#223C77
secondary
#AA8D4B
accent
#B149DF
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #223C77

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

Preview Lab → · Contrast checker → · Palette generator →

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