#222F73#222F73

#222F73 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.8% C 0.118 H 270.6°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#222F73
RGBrgb(34, 47, 115)
HSLhsl(230, 54%, 29%)
HSVhsv(230, 70%, 45%)
CMYKcmyk(70.4%, 59.1%, 0%, 54.9%)
CIE-LABlab(22.34, 19.17, -40.87)
CIE-LCHlch(22.34, 45.14, 295.13°)
OKLaboklab(33.79% 0.0013 -0.1176)
OKLCHoklch(33.79% 0.118 270.6)
XYZxyz(4.7697, 3.6105, 16.6619)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F73 #736622
analogous
#225873 #222F73 #3E2273
triadic
#222F73 #73222F #2F7322
tetradic
#222F73 #732258 #736622 #22733E
square
#222F73 #732258 #736622 #22733E
split-complementary
#222F73 #733E22 #587322
monochromatic
#070A18 #141C44 #222F73 #3042A2 #475CC9

Accessibility & contrast

On white

12.19
#222F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#222F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222F73
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F73#FFFFFF#000000##FFFFFF
##222F731.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #222f73;
/* rgb */ color: rgb(34, 47, 115);
/* oklch */ color: oklch(33.8% 0.118 270.6);
Tailwind
colors: {
  custom: {
    50: '#68679c',
    500: '#222f73',
    950: '#000000',
  },
}
SCSS
$custom: #222f73;
$custom-light: #68679c;
$custom-dark: #000000;
JSON
{
  "hex": "#222f73",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 230.37,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33787,
    "c": 0.11765,
    "h": 270.6
  },
  "luminance": 0.03611
}

Semantic roles & 50–950 ramp

primary
#222F73
secondary
#A6984B
accent
#C64ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #222F73

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

Preview Lab → · Contrast checker → · Palette generator →

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