#223D82#223D82

#223D82 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.1% C 0.121 H 265.0°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#223D82
RGBrgb(34, 61, 130)
HSLhsl(223, 59%, 32%)
HSVhsv(223, 74%, 51%)
CMYKcmyk(73.8%, 53.1%, 0%, 49%)
CIE-LABlab(27.54, 15.27, -41.93)
CIE-LCHlch(27.54, 44.63, 290.01°)
OKLaboklab(38.08% -0.0104 -0.1205)
OKLCHoklch(38.08% 0.121 265)
XYZxyz(6.3563, 5.2886, 21.8006)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D82 #826722
analogous
#226D82 #223D82 #372282
triadic
#223D82 #82223D #3D8222
tetradic
#223D82 #82226D #826722 #228237
square
#223D82 #82226D #826722 #228237
split-complementary
#223D82 #823722 #6D8222
monochromatic
#090F21 #152651 #223D82 #2F54B3 #4E73D1

Accessibility & contrast

On white

10.21
#223D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223D82
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D82#FFFFFF#000000##FFFFFF
##223D821.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114684
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#004D59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223d82;
/* rgb */ color: rgb(34, 61, 130);
/* oklch */ color: oklch(38.1% 0.121 265.0);
Tailwind
colors: {
  custom: {
    50: '#6b72a7',
    500: '#223d82',
    950: '#000000',
  },
}
SCSS
$custom: #223d82;
$custom-light: #6b72a7;
$custom-dark: #000000;
JSON
{
  "hex": "#223d82",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 130
  },
  "hsl": {
    "h": 223.125,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38078,
    "c": 0.12098,
    "h": 265
  },
  "luminance": 0.05289
}

Semantic roles & 50–950 ramp

primary
#223D82
secondary
#B4974C
accent
#B646E2
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #223D82

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

Preview Lab → · Contrast checker → · Palette generator →

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