#222274#222274

#222274 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.136 H 275.2°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#222274
RGBrgb(34, 34, 116)
HSLhsl(240, 55%, 29%)
HSVhsv(240, 71%, 45%)
CMYKcmyk(70.7%, 70.7%, 0%, 54.5%)
CIE-LABlab(18.99, 28.48, -46.98)
CIE-LCHlch(18.99, 54.94, 301.22°)
OKLaboklab(31.35% 0.0123 -0.1357)
OKLCHoklch(31.35% 0.136 275.2)
XYZxyz(4.3831, 2.7447, 16.8184)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222274 #747422
analogous
#224B74 #222274 #4B2274
triadic
#222274 #742222 #227422
tetradic
#222274 #74224B #747422 #22744B
square
#222274 #74224B #747422 #22744B
split-complementary
#222274 #744B22 #4B7422
monochromatic
#070718 #141445 #222274 #3030A3 #4747C9

Accessibility & contrast

On white

13.56
#222274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#222274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222274
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222274#FFFFFF#000000##FFFFFF
##2222741.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#002A72
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #222274;
/* rgb */ color: rgb(34, 34, 116);
/* oklch */ color: oklch(31.4% 0.136 275.2);
Tailwind
colors: {
  custom: {
    50: '#695d9d',
    500: '#222274',
    950: '#000000',
  },
}
SCSS
$custom: #222274;
$custom-light: #695d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#222274",
  "rgb": {
    "r": 34,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 240,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3135,
    "c": 0.13622,
    "h": 275.2
  },
  "luminance": 0.02745
}

Semantic roles & 50–950 ramp

primary
#222274
secondary
#A7A74B
accent
#DE4ADE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #222274

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

Preview Lab → · Contrast checker → · Palette generator →

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