#222C7A#222C7A

#222C7A is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.132 H 271.7°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#222C7A
RGBrgb(34, 44, 122)
HSLhsl(233, 56%, 31%)
HSVhsv(233, 72%, 48%)
CMYKcmyk(72.1%, 63.9%, 0%, 52.2%)
CIE-LABlab(22.11, 23.97, -45.71)
CIE-LCHlch(22.11, 51.62, 297.68°)
OKLaboklab(33.8% 0.0039 -0.1319)
OKLCHoklch(33.8% 0.132 271.7)
XYZxyz(5.0720, 3.5461, 18.8257)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C7A #7A7022
analogous
#22587A #222C7A #44227A
triadic
#222C7A #7A222C #2C7A22
tetradic
#222C7A #7A2258 #7A7022 #227A44
square
#222C7A #7A2258 #7A7022 #227A44
split-complementary
#222C7A #7A4422 #587A22
monochromatic
#07091A #151B4A #222C7A #2F3DAA #4A59CD

Accessibility & contrast

On white

12.29
#222C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#222C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222C7A
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C7A#FFFFFF#000000##FFFFFF
##222C7A1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #222c7a;
/* rgb */ color: rgb(34, 44, 122);
/* oklch */ color: oklch(33.8% 0.132 271.7);
Tailwind
colors: {
  custom: {
    50: '#6a65a1',
    500: '#222c7a',
    950: '#000000',
  },
}
SCSS
$custom: #222c7a;
$custom-light: #6a65a1;
$custom-dark: #000000;
JSON
{
  "hex": "#222c7a",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 122
  },
  "hsl": {
    "h": 233.182,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33803,
    "c": 0.13196,
    "h": 271.7
  },
  "luminance": 0.03547
}

Semantic roles & 50–950 ramp

primary
#222C7A
secondary
#ADA24B
accent
#CE48E0
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #222C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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