#2224A5#2224A5

#2224A5 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.197 H 270.8°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#2224A5
RGBrgb(34, 36, 165)
HSLhsl(239, 66%, 39%)
HSVhsv(239, 79%, 65%)
CMYKcmyk(79.4%, 78.2%, 0%, 35.3%)
CIE-LABlab(24.69, 44.44, -68.13)
CIE-LCHlch(24.69, 81.34, 303.12°)
OKLaboklab(36.99% 0.0028 -0.1973)
OKLCHoklch(36.99% 0.197 270.8)
XYZxyz(8.0798, 4.3175, 35.9975)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2224A5 #A5A322
analogous
#2266A5 #2224A5 #6222A5
triadic
#2224A5 #A52224 #24A522
tetradic
#2224A5 #A52266 #A5A322 #22A562
square
#2224A5 #A52266 #A5A322 #22A562
split-complementary
#2224A5 #A56222 #66A522
monochromatic
#0D0E40 #181972 #2224A5 #3032D4 #6365DF

Accessibility & contrast

On white

11.27
#2224A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2224A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2224A5#FFFFFF#000000##FFFFFF
##2224A51.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)
#0041A9
Deuteranopia (green-blind)
#0034A3
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2224a5;
/* rgb */ color: rgb(34, 36, 165);
/* oklch */ color: oklch(37.0% 0.197 270.8);
Tailwind
colors: {
  custom: {
    50: '#7661c1',
    500: '#2224a5',
    950: '#000000',
  },
}
SCSS
$custom: #2224a5;
$custom-light: #7661c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2224a5",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 239.084,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.36985,
    "c": 0.1973,
    "h": 270.8
  },
  "luminance": 0.04318
}

Semantic roles & 50–950 ramp

primary
#2224A5
secondary
#C4C25F
accent
#E63FE9
background
#F7F5FC
surface
#EEEAF8
border
#C9C6D1
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2224A5

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

Preview Lab → · Contrast checker → · Palette generator →

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