#2224A7#2224A7

#2224A7 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.200 H 270.7°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#2224A7
RGBrgb(34, 36, 167)
HSLhsl(239, 66%, 39%)
HSVhsv(239, 80%, 65%)
CMYKcmyk(79.6%, 78.4%, 0%, 34.5%)
CIE-LABlab(24.92, 45.10, -68.96)
CIE-LCHlch(24.92, 82.40, 303.19°)
OKLaboklab(37.21% 0.0024 -0.1997)
OKLCHoklch(37.21% 0.2 270.7)
XYZxyz(8.2632, 4.3909, 36.9638)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2224A7 #A7A522
analogous
#2267A7 #2224A7 #6322A7
triadic
#2224A7 #A72224 #24A722
tetradic
#2224A7 #A72267 #A7A522 #22A763
square
#2224A7 #A72267 #A7A522 #22A763
split-complementary
#2224A7 #A76322 #67A722
monochromatic
#0D0E41 #181974 #2224A7 #3134D5 #6466DF

Accessibility & contrast

On white

11.18
#2224A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2224A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2224A7
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2224A7#FFFFFF#000000##FFFFFF
##2224A71.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2224a7;
/* rgb */ color: rgb(34, 36, 167);
/* oklch */ color: oklch(37.2% 0.200 270.7);
Tailwind
colors: {
  custom: {
    50: '#7661c2',
    500: '#2224a7',
    950: '#000000',
  },
}
SCSS
$custom: #2224a7;
$custom-light: #7661c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2224a7",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 239.098,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37213,
    "c": 0.1997,
    "h": 270.7
  },
  "luminance": 0.04392
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2224A7

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

Preview Lab → · Contrast checker → · Palette generator →

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