#222D73#222D73

#222D73 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.4% C 0.120 H 271.5°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#222D73
RGBrgb(34, 45, 115)
HSLhsl(232, 54%, 29%)
HSVhsv(232, 70%, 45%)
CMYKcmyk(70.4%, 60.9%, 0%, 54.9%)
CIE-LABlab(21.78, 20.58, -41.78)
CIE-LCHlch(21.78, 46.58, 296.22°)
OKLaboklab(33.37% 0.0031 -0.1203)
OKLCHoklch(33.37% 0.12 271.5)
XYZxyz(4.6915, 3.4542, 16.6358)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222D73 #736822
analogous
#225673 #222D73 #402273
triadic
#222D73 #73222D #2D7322
tetradic
#222D73 #732256 #736822 #227340
square
#222D73 #732256 #736822 #227340
split-complementary
#222D73 #734022 #567322
monochromatic
#070918 #141B44 #222D73 #303FA2 #4758C9

Accessibility & contrast

On white

12.42
#222D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#222D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222D73
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222D73#FFFFFF#000000##FFFFFF
##222D731.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222d73;
/* rgb */ color: rgb(34, 45, 115);
/* oklch */ color: oklch(33.4% 0.120 271.5);
Tailwind
colors: {
  custom: {
    50: '#68659c',
    500: '#222d73',
    950: '#000000',
  },
}
SCSS
$custom: #222d73;
$custom-light: #68659c;
$custom-dark: #000000;
JSON
{
  "hex": "#222d73",
  "rgb": {
    "r": 34,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 231.852,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33368,
    "c": 0.12039,
    "h": 271.5
  },
  "luminance": 0.03455
}

Semantic roles & 50–950 ramp

primary
#222D73
secondary
#A69A4B
accent
#CA4ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #222D73

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

Preview Lab → · Contrast checker → · Palette generator →

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