#222E79#222E79

#222E79 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.1% C 0.128 H 271.0°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#222E79
RGBrgb(34, 46, 121)
HSLhsl(232, 56%, 30%)
HSVhsv(232, 72%, 47%)
CMYKcmyk(71.9%, 62%, 0%, 52.5%)
CIE-LABlab(22.56, 22.20, -44.34)
CIE-LCHlch(22.56, 49.59, 296.60°)
OKLaboklab(34.11% 0.0023 -0.1278)
OKLCHoklch(34.11% 0.128 271)
XYZxyz(5.0867, 3.6741, 18.5265)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E79 #796D22
analogous
#225979 #222E79 #412279
triadic
#222E79 #79222E #2E7922
tetradic
#222E79 #792259 #796D22 #227941
square
#222E79 #792259 #796D22 #227941
split-complementary
#222E79 #794122 #597922
monochromatic
#070A19 #151C49 #222E79 #2F40A9 #495BCC

Accessibility & contrast

On white

12.10
#222E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#222E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222E79
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E79#FFFFFF#000000##FFFFFF
##222E791.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #222e79;
/* rgb */ color: rgb(34, 46, 121);
/* oklch */ color: oklch(34.1% 0.128 271.0);
Tailwind
colors: {
  custom: {
    50: '#6a66a0',
    500: '#222e79',
    950: '#000000',
  },
}
SCSS
$custom: #222e79;
$custom-light: #6a66a0;
$custom-dark: #000000;
JSON
{
  "hex": "#222e79",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 231.724,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34111,
    "c": 0.12786,
    "h": 271
  },
  "luminance": 0.03675
}

Semantic roles & 50–950 ramp

primary
#222E79
secondary
#AC9F4B
accent
#CB48DF
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #222E79

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

Preview Lab → · Contrast checker → · Palette generator →

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