#2224AF#2224AF

#2224AF is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.1% C 0.209 H 270.2°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#2224AF
RGBrgb(34, 36, 175)
HSLhsl(239, 67%, 41%)
HSVhsv(239, 81%, 69%)
CMYKcmyk(80.6%, 79.4%, 0%, 31.4%)
CIE-LABlab(25.85, 47.73, -72.24)
CIE-LCHlch(25.85, 86.58, 303.45°)
OKLaboklab(38.13% 0.0009 -0.2092)
OKLCHoklch(38.13% 0.209 270.2)
XYZxyz(9.0258, 4.6959, 40.9798)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2224AF #AFAD22
analogous
#226AAF #2224AF #6622AF
triadic
#2224AF #AF2224 #24AF22
tetradic
#2224AF #AF226A #AFAD22 #22AF66
square
#2224AF #AF226A #AFAD22 #22AF66
split-complementary
#2224AF #AF6622 #6AAF22
monochromatic
#0E0F49 #18197C #2224AF #3639D8 #696BE2

Accessibility & contrast

On white

10.83
#2224AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2224AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2224AF
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2224AF#FFFFFF#000000##FFFFFF
##2224AF1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B3
Deuteranopia (green-blind)
#0036AD
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2224af;
/* rgb */ color: rgb(34, 36, 175);
/* oklch */ color: oklch(38.1% 0.209 270.2);
Tailwind
colors: {
  custom: {
    50: '#7862c8',
    500: '#2224af',
    950: '#000000',
  },
}
SCSS
$custom: #2224af;
$custom-light: #7862c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2224af",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 239.149,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38132,
    "c": 0.20921,
    "h": 270.2
  },
  "luminance": 0.04697
}

Semantic roles & 50–950 ramp

primary
#2224AF
secondary
#C8C665
accent
#E83DEA
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2224AF

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

Preview Lab → · Contrast checker → · Palette generator →

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