#223D84#223D84

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

Color values

HEX#223D84
RGBrgb(34, 61, 132)
HSLhsl(223, 59%, 33%)
HSVhsv(223, 74%, 52%)
CMYKcmyk(74.2%, 53.8%, 0%, 48.2%)
CIE-LABlab(27.69, 16.06, -42.94)
CIE-LCHlch(27.69, 45.85, 290.51°)
OKLaboklab(38.24% -0.0102 -0.1235)
OKLCHoklch(38.24% 0.124 265.3)
XYZxyz(6.4918, 5.3428, 22.5145)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D84 #846922
analogous
#226E84 #223D84 #382284
triadic
#223D84 #84223D #3D8422
tetradic
#223D84 #84226E #846922 #228438
square
#223D84 #84226E #846922 #228438
split-complementary
#223D84 #843822 #6E8422
monochromatic
#091023 #152753 #223D84 #2F53B5 #4F73D2

Accessibility & contrast

On white

10.15
#223D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#223D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223D84
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D84#FFFFFF#000000##FFFFFF
##223D841.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4687
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223d84;
/* rgb */ color: rgb(34, 61, 132);
/* oklch */ color: oklch(38.2% 0.124 265.3);
Tailwind
colors: {
  custom: {
    50: '#6b72a8',
    500: '#223d84',
    950: '#000000',
  },
}
SCSS
$custom: #223d84;
$custom-light: #6b72a8;
$custom-dark: #000000;
JSON
{
  "hex": "#223d84",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 132
  },
  "hsl": {
    "h": 223.469,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38238,
    "c": 0.12392,
    "h": 265.3
  },
  "luminance": 0.05344
}

Semantic roles & 50–950 ramp

primary
#223D84
secondary
#B5984D
accent
#B746E2
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #223D84

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

Preview Lab → · Contrast checker → · Palette generator →

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