#223882#223882

#223882 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.0% C 0.128 H 267.3°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#223882
RGBrgb(34, 56, 130)
HSLhsl(226, 59%, 32%)
HSVhsv(226, 74%, 51%)
CMYKcmyk(73.8%, 56.9%, 0%, 49%)
CIE-LABlab(26.10, 18.75, -44.27)
CIE-LCHlch(26.10, 48.08, 292.96°)
OKLaboklab(36.99% -0.006 -0.1275)
OKLCHoklch(36.99% 0.128 267.3)
XYZxyz(6.1017, 4.7795, 21.7157)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223882 #826C22
analogous
#226882 #223882 #3C2282
triadic
#223882 #822238 #388222
tetradic
#223882 #822268 #826C22 #22823C
square
#223882 #822268 #826C22 #22823C
split-complementary
#223882 #823C22 #688222
monochromatic
#090E21 #152351 #223882 #2F4DB3 #4E6CD1

Accessibility & contrast

On white

10.74
#223882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#223882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223882
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223882#FFFFFF#000000##FFFFFF
##2238821.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004285
Deuteranopia (green-blind)
#003A81
Tritanopia (blue-blind)
#004A57
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223882;
/* rgb */ color: rgb(34, 56, 130);
/* oklch */ color: oklch(37.0% 0.128 267.3);
Tailwind
colors: {
  custom: {
    50: '#6b6ea7',
    500: '#223882',
    950: '#000000',
  },
}
SCSS
$custom: #223882;
$custom-light: #6b6ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#223882",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 130
  },
  "hsl": {
    "h": 226.25,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36986,
    "c": 0.12764,
    "h": 267.3
  },
  "luminance": 0.0478
}

Semantic roles & 50–950 ramp

primary
#223882
secondary
#B49C4C
accent
#BE46E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #223882

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

Preview Lab → · Contrast checker → · Palette generator →

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