#223282#223282

#223282 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.136 H 269.6°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#223282
RGBrgb(34, 50, 130)
HSLhsl(230, 59%, 32%)
HSVhsv(230, 74%, 51%)
CMYKcmyk(73.8%, 61.5%, 0%, 49%)
CIE-LABlab(24.43, 22.92, -46.99)
CIE-LCHlch(24.43, 52.28, 296.00°)
OKLaboklab(35.74% -0.001 -0.1356)
OKLCHoklch(35.74% 0.136 269.6)
XYZxyz(5.8282, 4.2324, 21.6245)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223282 #827222
analogous
#226282 #223282 #422282
triadic
#223282 #822232 #328222
tetradic
#223282 #822262 #827222 #228242
square
#223282 #822262 #827222 #228242
split-complementary
#223282 #824222 #628222
monochromatic
#090D21 #151F51 #223282 #2F45B3 #4E64D1

Accessibility & contrast

On white

11.37
#223282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#223282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223282
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223282#FFFFFF#000000##FFFFFF
##2232821.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223282;
/* rgb */ color: rgb(34, 50, 130);
/* oklch */ color: oklch(35.7% 0.136 269.6);
Tailwind
colors: {
  custom: {
    50: '#6b69a7',
    500: '#223282',
    950: '#000000',
  },
}
SCSS
$custom: #223282;
$custom-light: #6b69a7;
$custom-dark: #000000;
JSON
{
  "hex": "#223282",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 230,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35735,
    "c": 0.13558,
    "h": 269.6
  },
  "luminance": 0.04233
}

Semantic roles & 50–950 ramp

primary
#223282
secondary
#B4A34C
accent
#C846E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #223282

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

Preview Lab → · Contrast checker → · Palette generator →

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