#223C81#223C81

#223C81 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 37.8% C 0.121 H 265.4°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#223C81
RGBrgb(34, 60, 129)
HSLhsl(224, 58%, 32%)
HSVhsv(224, 74%, 51%)
CMYKcmyk(73.6%, 53.5%, 0%, 49.4%)
CIE-LABlab(27.17, 15.57, -41.90)
CIE-LCHlch(27.17, 44.70, 290.39°)
OKLaboklab(37.78% -0.0097 -0.1205)
OKLCHoklch(37.78% 0.121 265.4)
XYZxyz(6.2366, 5.1561, 21.4312)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C81 #816722
analogous
#226C81 #223C81 #382281
triadic
#223C81 #81223C #3C8122
tetradic
#223C81 #81226C #816722 #228138
square
#223C81 #81226C #816722 #228138
split-complementary
#223C81 #813822 #6C8122
monochromatic
#080F20 #152551 #223C81 #2F53B1 #4D71D0

Accessibility & contrast

On white

10.34
#223C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#223C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223C81
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C81#FFFFFF#000000##FFFFFF
##223C811.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104583
Deuteranopia (green-blind)
#003C80
Tritanopia (blue-blind)
#004C58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223c81;
/* rgb */ color: rgb(34, 60, 129);
/* oklch */ color: oklch(37.8% 0.121 265.4);
Tailwind
colors: {
  custom: {
    50: '#6a71a6',
    500: '#223c81',
    950: '#000000',
  },
}
SCSS
$custom: #223c81;
$custom-light: #6a71a6;
$custom-dark: #000000;
JSON
{
  "hex": "#223c81",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 129
  },
  "hsl": {
    "h": 223.579,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37776,
    "c": 0.12085,
    "h": 265.4
  },
  "luminance": 0.05157
}

Semantic roles & 50–950 ramp

primary
#223C81
secondary
#B3974B
accent
#B746E1
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #223C81

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

Preview Lab → · Contrast checker → · Palette generator →

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