#2224A8#2224A8

#2224A8 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.3% C 0.201 H 270.6°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#2224A8
RGBrgb(34, 36, 168)
HSLhsl(239, 66%, 40%)
HSVhsv(239, 80%, 66%)
CMYKcmyk(79.8%, 78.6%, 0%, 34.1%)
CIE-LABlab(25.04, 45.43, -69.38)
CIE-LCHlch(25.04, 82.93, 303.22°)
OKLaboklab(37.33% 0.0022 -0.2009)
OKLCHoklch(37.33% 0.201 270.6)
XYZxyz(8.3560, 4.4280, 37.4525)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2224A8 #A8A622
analogous
#2267A8 #2224A8 #6322A8
triadic
#2224A8 #A82224 #24A822
tetradic
#2224A8 #A82267 #A8A622 #22A863
square
#2224A8 #A82267 #A8A622 #22A863
split-complementary
#2224A8 #A86322 #67A822
monochromatic
#0D0E42 #181975 #2224A8 #3234D5 #6566E0

Accessibility & contrast

On white

11.14
#2224A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2224A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2224A8
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2224A8#FFFFFF#000000##FFFFFF
##2224A81.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#0034A6
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2224a8;
/* rgb */ color: rgb(34, 36, 168);
/* oklch */ color: oklch(37.3% 0.201 270.6);
Tailwind
colors: {
  custom: {
    50: '#7761c3',
    500: '#2224a8',
    950: '#000000',
  },
}
SCSS
$custom: #2224a8;
$custom-light: #7761c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2224a8",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 239.104,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37327,
    "c": 0.2009,
    "h": 270.6
  },
  "luminance": 0.04429
}

Semantic roles & 50–950 ramp

primary
#2224A8
secondary
#C5C461
accent
#E73FE9
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2224A8

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

Preview Lab → · Contrast checker → · Palette generator →

#2224A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva