#223C86#223C86

#223C86 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.2% C 0.128 H 265.9°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#223C86
RGBrgb(34, 60, 134)
HSLhsl(224, 60%, 33%)
HSVhsv(224, 75%, 53%)
CMYKcmyk(74.6%, 55.2%, 0%, 47.5%)
CIE-LABlab(27.55, 17.55, -44.41)
CIE-LCHlch(27.55, 47.75, 291.57°)
OKLaboklab(38.18% -0.0092 -0.1278)
OKLCHoklch(38.18% 0.128 265.9)
XYZxyz(6.5771, 5.2923, 23.2245)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C86 #866C22
analogous
#226E86 #223C86 #3A2286
triadic
#223C86 #86223C #3C8622
tetradic
#223C86 #86226E #866C22 #22863A
square
#223C86 #86226E #866C22 #22863A
split-complementary
#223C86 #863A22 #6E8622
monochromatic
#091024 #162655 #223C86 #2E52B7 #5072D3

Accessibility & contrast

On white

10.20
#223C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223C86
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C86#FFFFFF#000000##FFFFFF
##223C861.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044689
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223c86;
/* rgb */ color: rgb(34, 60, 134);
/* oklch */ color: oklch(38.2% 0.128 265.9);
Tailwind
colors: {
  custom: {
    50: '#6c71aa',
    500: '#223c86',
    950: '#000000',
  },
}
SCSS
$custom: #223c86;
$custom-light: #6c71aa;
$custom-dark: #000000;
JSON
{
  "hex": "#223c86",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 134
  },
  "hsl": {
    "h": 224.4,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38181,
    "c": 0.12817,
    "h": 265.9
  },
  "luminance": 0.05293
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #223C86

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

Preview Lab → · Contrast checker → · Palette generator →

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