#223382#223382

#223382 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.134 H 269.2°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#223382
RGBrgb(34, 51, 130)
HSLhsl(229, 59%, 32%)
HSVhsv(229, 74%, 51%)
CMYKcmyk(73.8%, 60.8%, 0%, 49%)
CIE-LABlab(24.70, 22.23, -46.54)
CIE-LCHlch(24.70, 51.58, 295.53°)
OKLaboklab(35.94% -0.0018 -0.1343)
OKLCHoklch(35.94% 0.134 269.2)
XYZxyz(5.8714, 4.3188, 21.6390)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223382 #827122
analogous
#226382 #223382 #412282
triadic
#223382 #822233 #338222
tetradic
#223382 #822263 #827122 #228241
square
#223382 #822263 #827122 #228241
split-complementary
#223382 #824122 #638222
monochromatic
#090D21 #152051 #223382 #2F46B3 #4E65D1

Accessibility & contrast

On white

11.27
#223382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#223382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223382
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223382#FFFFFF#000000##FFFFFF
##2233821.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #223382;
/* rgb */ color: rgb(34, 51, 130);
/* oklch */ color: oklch(35.9% 0.134 269.2);
Tailwind
colors: {
  custom: {
    50: '#6b6aa7',
    500: '#223382',
    950: '#000000',
  },
}
SCSS
$custom: #223382;
$custom-light: #6b6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#223382",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 130
  },
  "hsl": {
    "h": 229.375,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35939,
    "c": 0.13427,
    "h": 269.2
  },
  "luminance": 0.04319
}

Semantic roles & 50–950 ramp

primary
#223382
secondary
#B4A24C
accent
#C646E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #223382

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

Preview Lab → · Contrast checker → · Palette generator →

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