#222C7F#222C7F

#222C7F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.139 H 271.5°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#222C7F
RGBrgb(34, 44, 127)
HSLhsl(234, 58%, 32%)
HSVhsv(234, 73%, 50%)
CMYKcmyk(73.2%, 65.4%, 0%, 50.2%)
CIE-LABlab(22.56, 25.89, -48.15)
CIE-LCHlch(22.56, 54.66, 298.27°)
OKLaboklab(34.27% 0.0037 -0.139)
OKLCHoklch(34.27% 0.139 271.5)
XYZxyz(5.3898, 3.6732, 20.4995)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C7F #7F7522
analogous
#225B7F #222C7F #47227F
triadic
#222C7F #7F222C #2C7F22
tetradic
#222C7F #7F225B #7F7522 #227F47
square
#222C7F #7F225B #7F7522 #227F47
split-complementary
#222C7F #7F4722 #5B7F22
monochromatic
#080B1E #151B4F #222C7F #2F3DAF #4C5ACF

Accessibility & contrast

On white

12.11
#222C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#222C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222C7F
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C7F#FFFFFF#000000##FFFFFF
##222C7F1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #222c7f;
/* rgb */ color: rgb(34, 44, 127);
/* oklch */ color: oklch(34.3% 0.139 271.5);
Tailwind
colors: {
  custom: {
    50: '#6b65a5',
    500: '#222c7f',
    950: '#000000',
  },
}
SCSS
$custom: #222c7f;
$custom-light: #6b65a5;
$custom-dark: #000000;
JSON
{
  "hex": "#222c7f",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 127
  },
  "hsl": {
    "h": 233.548,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34274,
    "c": 0.13908,
    "h": 271.5
  },
  "luminance": 0.03674
}

Semantic roles & 50–950 ramp

primary
#222C7F
secondary
#B2A74B
accent
#D047E1
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F

Preview Lab

Preview with #222C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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