#223D86#223D86

#223D86 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.4% C 0.127 H 265.5°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#223D86
RGBrgb(34, 61, 134)
HSLhsl(224, 60%, 33%)
HSVhsv(224, 75%, 53%)
CMYKcmyk(74.6%, 54.5%, 0%, 47.5%)
CIE-LABlab(27.84, 16.86, -43.94)
CIE-LCHlch(27.84, 47.06, 290.99°)
OKLaboklab(38.4% -0.01 -0.1264)
OKLCHoklch(38.4% 0.127 265.5)
XYZxyz(6.6300, 5.3981, 23.2422)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D86 #866B22
analogous
#226F86 #223D86 #392286
triadic
#223D86 #86223D #3D8622
tetradic
#223D86 #86226F #866B22 #228639
square
#223D86 #86226F #866B22 #228639
split-complementary
#223D86 #863922 #6F8622
monochromatic
#091124 #162755 #223D86 #2E53B7 #5073D3

Accessibility & contrast

On white

10.10
#223D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#223D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223D86
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D86#FFFFFF#000000##FFFFFF
##223D861.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094789
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #223d86;
/* rgb */ color: rgb(34, 61, 134);
/* oklch */ color: oklch(38.4% 0.127 265.5);
Tailwind
colors: {
  custom: {
    50: '#6c72aa',
    500: '#223d86',
    950: '#000000',
  },
}
SCSS
$custom: #223d86;
$custom-light: #6c72aa;
$custom-dark: #000000;
JSON
{
  "hex": "#223d86",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 134
  },
  "hsl": {
    "h": 223.8,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38399,
    "c": 0.12685,
    "h": 265.5
  },
  "luminance": 0.05399
}

Semantic roles & 50–950 ramp

primary
#223D86
secondary
#B69A4E
accent
#B845E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #223D86

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

Preview Lab → · Contrast checker → · Palette generator →

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