#222474#222474

#222474 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.7% C 0.134 H 274.6°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#222474
RGBrgb(34, 36, 116)
HSLhsl(239, 55%, 29%)
HSVhsv(239, 71%, 45%)
CMYKcmyk(70.7%, 69%, 0%, 54.5%)
CIE-LABlab(19.48, 27.15, -46.17)
CIE-LCHlch(19.48, 53.56, 300.46°)
OKLaboklab(31.71% 0.0107 -0.1333)
OKLCHoklch(31.71% 0.134 274.6)
XYZxyz(4.4419, 2.8624, 16.8380)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222474 #747222
analogous
#224D74 #222474 #492274
triadic
#222474 #742224 #247422
tetradic
#222474 #74224D #747222 #227449
square
#222474 #74224D #747222 #227449
split-complementary
#222474 #744922 #4D7422
monochromatic
#070718 #141545 #222474 #3033A3 #474AC9

Accessibility & contrast

On white

13.35
#222474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#222474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222474
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222474#FFFFFF#000000##FFFFFF
##2224741.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003377
Deuteranopia (green-blind)
#002B72
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #222474;
/* rgb */ color: rgb(34, 36, 116);
/* oklch */ color: oklch(31.7% 0.134 274.6);
Tailwind
colors: {
  custom: {
    50: '#695f9d',
    500: '#222474',
    950: '#000000',
  },
}
SCSS
$custom: #222474;
$custom-light: #695f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#222474",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 116
  },
  "hsl": {
    "h": 238.537,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31707,
    "c": 0.13373,
    "h": 274.6
  },
  "luminance": 0.02863
}

Semantic roles & 50–950 ramp

primary
#222474
secondary
#A7A54B
accent
#DA4ADE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #222474

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

Preview Lab → · Contrast checker → · Palette generator →

#222474 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva