#222773#222773

#222773 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.128 H 273.7°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#222773
RGBrgb(34, 39, 115)
HSLhsl(236, 54%, 29%)
HSVhsv(236, 70%, 45%)
CMYKcmyk(70.4%, 66.1%, 0%, 54.9%)
CIE-LABlab(20.16, 24.74, -44.43)
CIE-LCHlch(20.16, 50.85, 299.12°)
OKLaboklab(32.17% 0.0084 -0.1282)
OKLCHoklch(32.17% 0.128 273.7)
XYZxyz(4.4787, 3.0285, 16.5649)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222773 #736E22
analogous
#225073 #222773 #462273
triadic
#222773 #732227 #277322
tetradic
#222773 #732250 #736E22 #227346
square
#222773 #732250 #736E22 #227346
split-complementary
#222773 #734622 #507322
monochromatic
#070818 #141744 #222773 #3037A2 #474FC9

Accessibility & contrast

On white

13.08
#222773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#222773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222773
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222773#FFFFFF#000000##FFFFFF
##2227731.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003475
Deuteranopia (green-blind)
#002D72
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #222773;
/* rgb */ color: rgb(34, 39, 115);
/* oklch */ color: oklch(32.2% 0.128 273.7);
Tailwind
colors: {
  custom: {
    50: '#69619c',
    500: '#222773',
    950: '#000000',
  },
}
SCSS
$custom: #222773;
$custom-light: #69619c;
$custom-dark: #000000;
JSON
{
  "hex": "#222773",
  "rgb": {
    "r": 34,
    "g": 39,
    "b": 115
  },
  "hsl": {
    "h": 236.296,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3217,
    "c": 0.12844,
    "h": 273.7
  },
  "luminance": 0.03029
}

Semantic roles & 50–950 ramp

primary
#222773
secondary
#A6A14B
accent
#D54ADE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #222773

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

Preview Lab → · Contrast checker → · Palette generator →

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