#222C74#222C74

#222C74 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.123 H 271.9°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#222C74
RGBrgb(34, 44, 116)
HSLhsl(233, 55%, 29%)
HSVhsv(233, 71%, 45%)
CMYKcmyk(70.7%, 62.1%, 0%, 54.5%)
CIE-LABlab(21.59, 21.66, -42.74)
CIE-LCHlch(21.59, 47.91, 296.88°)
OKLaboklab(33.25% 0.004 -0.1232)
OKLCHoklch(33.25% 0.123 271.9)
XYZxyz(4.7117, 3.4020, 16.9279)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C74 #746A22
analogous
#225574 #222C74 #412274
triadic
#222C74 #74222C #2C7422
tetradic
#222C74 #742255 #746A22 #227441
square
#222C74 #742255 #746A22 #227441
split-complementary
#222C74 #744122 #557422
monochromatic
#070918 #141A45 #222C74 #303EA3 #4757C9

Accessibility & contrast

On white

12.50
#222C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#222C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222C74
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C74#FFFFFF#000000##FFFFFF
##222C741.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#003073
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #222c74;
/* rgb */ color: rgb(34, 44, 116);
/* oklch */ color: oklch(33.3% 0.123 271.9);
Tailwind
colors: {
  custom: {
    50: '#69659d',
    500: '#222c74',
    950: '#000000',
  },
}
SCSS
$custom: #222c74;
$custom-light: #69659d;
$custom-dark: #000000;
JSON
{
  "hex": "#222c74",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 116
  },
  "hsl": {
    "h": 232.683,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33252,
    "c": 0.12323,
    "h": 271.9
  },
  "luminance": 0.03402
}

Semantic roles & 50–950 ramp

primary
#222C74
secondary
#A79C4B
accent
#CC4ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #222C74

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

Preview Lab → · Contrast checker → · Palette generator →

#222C74 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva