#222F74#222F74

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

Color values

HEX#222F74
RGBrgb(34, 47, 116)
HSLhsl(230, 55%, 29%)
HSVhsv(230, 71%, 45%)
CMYKcmyk(70.7%, 59.5%, 0%, 54.5%)
CIE-LABlab(22.42, 19.56, -41.38)
CIE-LCHlch(22.42, 45.77, 295.30°)
OKLaboklab(33.87% 0.0013 -0.1191)
OKLCHoklch(33.87% 0.119 270.6)
XYZxyz(4.8275, 3.6336, 16.9666)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F74 #746722
analogous
#225874 #222F74 #3E2274
triadic
#222F74 #74222F #2F7422
tetradic
#222F74 #742258 #746722 #22743E
square
#222F74 #742258 #746722 #22743E
split-complementary
#222F74 #743E22 #587422
monochromatic
#070A18 #141C45 #222F74 #3042A3 #475CC9

Accessibility & contrast

On white

12.16
#222F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222F74
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F74#FFFFFF#000000##FFFFFF
##222F741.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #222f74;
/* rgb */ color: rgb(34, 47, 116);
/* oklch */ color: oklch(33.9% 0.119 270.6);
Tailwind
colors: {
  custom: {
    50: '#68679d',
    500: '#222f74',
    950: '#000000',
  },
}
SCSS
$custom: #222f74;
$custom-light: #68679d;
$custom-dark: #000000;
JSON
{
  "hex": "#222f74",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 230.488,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33874,
    "c": 0.11914,
    "h": 270.6
  },
  "luminance": 0.03634
}

Semantic roles & 50–950 ramp

primary
#222F74
secondary
#A7984B
accent
#C74ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #222F74

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

Preview Lab → · Contrast checker → · Palette generator →

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