#223D87#223D87

#223D87 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.5% C 0.128 H 265.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#223D87
RGBrgb(34, 61, 135)
HSLhsl(224, 60%, 33%)
HSVhsv(224, 75%, 53%)
CMYKcmyk(74.8%, 54.8%, 0%, 47.1%)
CIE-LABlab(27.92, 17.25, -44.44)
CIE-LCHlch(27.92, 47.67, 291.22°)
OKLaboklab(38.48% -0.0099 -0.1279)
OKLCHoklch(38.48% 0.128 265.6)
XYZxyz(6.7001, 5.4261, 23.6112)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D87 #876C22
analogous
#226F87 #223D87 #392287
triadic
#223D87 #87223D #3D8722
tetradic
#223D87 #87226F #876C22 #228739
square
#223D87 #87226F #876C22 #228739
split-complementary
#223D87 #873922 #6F8722
monochromatic
#091125 #162756 #223D87 #2E53B8 #5073D3

Accessibility & contrast

On white

10.07
#223D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#223D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223D87
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D87#FFFFFF#000000##FFFFFF
##223D871.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06478A
Deuteranopia (green-blind)
#003D86
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #223d87;
/* rgb */ color: rgb(34, 61, 135);
/* oklch */ color: oklch(38.5% 0.128 265.6);
Tailwind
colors: {
  custom: {
    50: '#6c72ab',
    500: '#223d87',
    950: '#000000',
  },
}
SCSS
$custom: #223d87;
$custom-light: #6c72ab;
$custom-dark: #000000;
JSON
{
  "hex": "#223d87",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 135
  },
  "hsl": {
    "h": 223.96,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38481,
    "c": 0.1283,
    "h": 265.6
  },
  "luminance": 0.05427
}

Semantic roles & 50–950 ramp

primary
#223D87
secondary
#B79B4E
accent
#B945E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #223D87

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

Preview Lab → · Contrast checker → · Palette generator →

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