#223A82#223A82

#223A82 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.4% C 0.125 H 266.4°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#223A82
RGBrgb(34, 58, 130)
HSLhsl(225, 59%, 32%)
HSVhsv(225, 74%, 51%)
CMYKcmyk(73.8%, 55.4%, 0%, 49%)
CIE-LABlab(26.67, 17.36, -43.34)
CIE-LCHlch(26.67, 46.69, 291.83°)
OKLaboklab(37.42% -0.0078 -0.1247)
OKLCHoklch(37.42% 0.125 266.4)
XYZxyz(6.2006, 4.9773, 21.7487)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A82 #826A22
analogous
#226A82 #223A82 #3A2282
triadic
#223A82 #82223A #3A8222
tetradic
#223A82 #82226A #826A22 #22823A
square
#223A82 #82226A #826A22 #22823A
split-complementary
#223A82 #823A22 #6A8222
monochromatic
#090F21 #152451 #223A82 #2F50B3 #4E6ED1

Accessibility & contrast

On white

10.52
#223A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#223A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A82
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A82#FFFFFF#000000##FFFFFF
##223A821.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044485
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#004B58
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #223a82;
/* rgb */ color: rgb(34, 58, 130);
/* oklch */ color: oklch(37.4% 0.125 266.4);
Tailwind
colors: {
  custom: {
    50: '#6b6fa7',
    500: '#223a82',
    950: '#000000',
  },
}
SCSS
$custom: #223a82;
$custom-light: #6b6fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#223a82",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 130
  },
  "hsl": {
    "h": 225,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37418,
    "c": 0.12498,
    "h": 266.4
  },
  "luminance": 0.04978
}

Semantic roles & 50–950 ramp

primary
#223A82
secondary
#B49A4C
accent
#BB46E2
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #223A82

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

Preview Lab → · Contrast checker → · Palette generator →

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