#223C71#223C71

#223C71 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.6% C 0.097 H 262.9°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#223C71
RGBrgb(34, 60, 113)
HSLhsl(220, 54%, 29%)
HSVhsv(220, 70%, 44%)
CMYKcmyk(69.9%, 46.9%, 0%, 55.7%)
CIE-LABlab(26.05, 9.23, -33.61)
CIE-LCHlch(26.05, 34.86, 285.36°)
OKLaboklab(36.56% -0.012 -0.0961)
OKLCHoklch(36.56% 0.097 262.9)
XYZxyz(5.2551, 4.7635, 16.2621)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C71 #715722
analogous
#226471 #223C71 #302271
triadic
#223C71 #71223C #3C7122
tetradic
#223C71 #712264 #715722 #227130
square
#223C71 #712264 #715722 #227130
split-complementary
#223C71 #713022 #647122
monochromatic
#070C18 #142342 #223C71 #3055A0 #4671C7

Accessibility & contrast

On white

10.75
#223C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#223C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223C71
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C71#FFFFFF#000000##FFFFFF
##223C711.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224273
Deuteranopia (green-blind)
#143A70
Tritanopia (blue-blind)
#004851
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223c71;
/* rgb */ color: rgb(34, 60, 113);
/* oklch */ color: oklch(36.6% 0.097 262.9);
Tailwind
colors: {
  custom: {
    50: '#67719a',
    500: '#223c71',
    950: '#000000',
  },
}
SCSS
$custom: #223c71;
$custom-light: #67719a;
$custom-dark: #000000;
JSON
{
  "hex": "#223c71",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 113
  },
  "hsl": {
    "h": 220.253,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36556,
    "c": 0.09683,
    "h": 262.9
  },
  "luminance": 0.04764
}

Semantic roles & 50–950 ramp

primary
#223C71
secondary
#A4874A
accent
#AD4BDD
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #223C71

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

Preview Lab → · Contrast checker → · Palette generator →

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