#2224AC#2224AC

#2224AC is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 37.8% C 0.206 H 270.4°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#2224AC
RGBrgb(34, 36, 172)
HSLhsl(239, 67%, 40%)
HSVhsv(239, 80%, 67%)
CMYKcmyk(80.2%, 79.1%, 0%, 32.5%)
CIE-LABlab(25.50, 46.75, -71.02)
CIE-LCHlch(25.50, 85.03, 303.35°)
OKLaboklab(37.79% 0.0015 -0.2057)
OKLCHoklch(37.79% 0.206 270.4)
XYZxyz(8.7344, 4.5794, 39.4453)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2224AC #ACAA22
analogous
#2269AC #2224AC #6522AC
triadic
#2224AC #AC2224 #24AC22
tetradic
#2224AC #AC2269 #ACAA22 #22AC65
square
#2224AC #AC2269 #ACAA22 #22AC65
split-complementary
#2224AC #AC6522 #69AC22
monochromatic
#0E0F46 #181979 #2224AC #3437D7 #6769E1

Accessibility & contrast

On white

10.96
#2224AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2224AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2224AC
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2224AC#FFFFFF#000000##FFFFFF
##2224AC1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B0
Deuteranopia (green-blind)
#0035AA
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2224ac;
/* rgb */ color: rgb(34, 36, 172);
/* oklch */ color: oklch(37.8% 0.206 270.4);
Tailwind
colors: {
  custom: {
    50: '#7861c6',
    500: '#2224ac',
    950: '#000000',
  },
}
SCSS
$custom: #2224ac;
$custom-light: #7861c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2224ac",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 172
  },
  "hsl": {
    "h": 239.13,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.37786,
    "c": 0.20567,
    "h": 270.4
  },
  "luminance": 0.0458
}

Semantic roles & 50–950 ramp

primary
#2224AC
secondary
#C7C563
accent
#E73EEA
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2224AC

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

Preview Lab → · Contrast checker → · Palette generator →

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