#223582#223582

#223582 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.4% C 0.132 H 268.5°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#223582
RGBrgb(34, 53, 130)
HSLhsl(228, 59%, 32%)
HSVhsv(228, 74%, 51%)
CMYKcmyk(73.8%, 59.2%, 0%, 49%)
CIE-LABlab(25.25, 20.84, -45.64)
CIE-LCHlch(25.25, 50.18, 294.54°)
OKLaboklab(36.35% -0.0035 -0.1316)
OKLCHoklch(36.35% 0.132 268.5)
XYZxyz(5.9607, 4.4974, 21.6687)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223582 #826F22
analogous
#226582 #223582 #3F2282
triadic
#223582 #822235 #358222
tetradic
#223582 #822265 #826F22 #22823F
square
#223582 #822265 #826F22 #22823F
split-complementary
#223582 #823F22 #658222
monochromatic
#090D21 #152151 #223582 #2F49B3 #4E68D1

Accessibility & contrast

On white

11.05
#223582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#223582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223582
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223582#FFFFFF#000000##FFFFFF
##2235821.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004085
Deuteranopia (green-blind)
#003880
Tritanopia (blue-blind)
#004856
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #223582;
/* rgb */ color: rgb(34, 53, 130);
/* oklch */ color: oklch(36.4% 0.132 268.5);
Tailwind
colors: {
  custom: {
    50: '#6b6ba7',
    500: '#223582',
    950: '#000000',
  },
}
SCSS
$custom: #223582;
$custom-light: #6b6ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#223582",
  "rgb": {
    "r": 34,
    "g": 53,
    "b": 130
  },
  "hsl": {
    "h": 228.125,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36352,
    "c": 0.13163,
    "h": 268.5
  },
  "luminance": 0.04498
}

Semantic roles & 50–950 ramp

primary
#223582
secondary
#B49F4C
accent
#C346E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #223582

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

Preview Lab → · Contrast checker → · Palette generator →

#223582 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva