#2224A2#2224A2

#2224A2 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.194 H 271.0°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#2224A2
RGBrgb(34, 36, 162)
HSLhsl(239, 65%, 38%)
HSVhsv(239, 79%, 64%)
CMYKcmyk(79%, 77.8%, 0%, 36.5%)
CIE-LABlab(24.35, 43.44, -66.88)
CIE-LCHlch(24.35, 79.75, 303.01°)
OKLaboklab(36.64% 0.0034 -0.1936)
OKLCHoklch(36.64% 0.194 271)
XYZxyz(7.8099, 4.2096, 34.5763)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2224A2 #A2A022
analogous
#2264A2 #2224A2 #6022A2
triadic
#2224A2 #A22224 #24A222
tetradic
#2224A2 #A22264 #A2A022 #22A260
square
#2224A2 #A22264 #A2A022 #22A260
split-complementary
#2224A2 #A26022 #64A222
monochromatic
#0D0E3D #17196F #2224A2 #2E31D3 #6163DE

Accessibility & contrast

On white

11.40
#2224A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2224A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2224A2
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2224A2#FFFFFF#000000##FFFFFF
##2224A21.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A6
Deuteranopia (green-blind)
#0033A0
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2224a2;
/* rgb */ color: rgb(34, 36, 162);
/* oklch */ color: oklch(36.6% 0.194 271.0);
Tailwind
colors: {
  custom: {
    50: '#7561bf',
    500: '#2224a2',
    950: '#000000',
  },
}
SCSS
$custom: #2224a2;
$custom-light: #7561bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2224a2",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 239.063,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.36644,
    "c": 0.19367,
    "h": 271
  },
  "luminance": 0.0421
}

Semantic roles & 50–950 ramp

primary
#2224A2
secondary
#C3C15D
accent
#E640E8
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2224A2

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

Preview Lab → · Contrast checker → · Palette generator →

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