#223C87#223C87

#223C87 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.130 H 266.0°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#223C87
RGBrgb(34, 60, 135)
HSLhsl(225, 60%, 33%)
HSVhsv(225, 75%, 53%)
CMYKcmyk(74.8%, 55.6%, 0%, 47.1%)
CIE-LABlab(27.63, 17.95, -44.91)
CIE-LCHlch(27.63, 48.36, 291.78°)
OKLaboklab(38.26% -0.0091 -0.1293)
OKLCHoklch(38.26% 0.13 266)
XYZxyz(6.6472, 5.3204, 23.5936)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C87 #876D22
analogous
#226E87 #223C87 #3A2287
triadic
#223C87 #87223C #3C8722
tetradic
#223C87 #87226E #876D22 #22873A
square
#223C87 #87226E #876D22 #22873A
split-complementary
#223C87 #873A22 #6E8722
monochromatic
#091125 #162656 #223C87 #2E52B8 #5072D3

Accessibility & contrast

On white

10.17
#223C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#223C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223C87
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C87#FFFFFF#000000##FFFFFF
##223C871.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01468A
Deuteranopia (green-blind)
#003D86
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223c87;
/* rgb */ color: rgb(34, 60, 135);
/* oklch */ color: oklch(38.3% 0.130 266.0);
Tailwind
colors: {
  custom: {
    50: '#6c71ab',
    500: '#223c87',
    950: '#000000',
  },
}
SCSS
$custom: #223c87;
$custom-light: #6c71ab;
$custom-dark: #000000;
JSON
{
  "hex": "#223c87",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 135
  },
  "hsl": {
    "h": 224.554,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38264,
    "c": 0.12962,
    "h": 266
  },
  "luminance": 0.05321
}

Semantic roles & 50–950 ramp

primary
#223C87
secondary
#B79C4E
accent
#BA45E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #223C87

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

Preview Lab → · Contrast checker → · Palette generator →

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