#222F70#222F70

#222F70 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.5% C 0.113 H 270.6°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#222F70
RGBrgb(34, 47, 112)
HSLhsl(230, 53%, 29%)
HSVhsv(230, 70%, 44%)
CMYKcmyk(69.6%, 58%, 0%, 56.1%)
CIE-LABlab(22.10, 18.00, -39.34)
CIE-LCHlch(22.10, 43.26, 294.58°)
OKLaboklab(33.53% 0.0011 -0.1131)
OKLCHoklch(33.53% 0.113 270.6)
XYZxyz(4.5998, 3.5425, 15.7675)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F70 #706322
analogous
#225670 #222F70 #3C2270
triadic
#222F70 #70222F #2F7022
tetradic
#222F70 #702256 #706322 #22703C
square
#222F70 #702256 #706322 #22703C
split-complementary
#222F70 #703C22 #567022
monochromatic
#070A17 #141B41 #222F70 #30439F #465BC7

Accessibility & contrast

On white

12.29
#222F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#222F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222F70
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F70#FFFFFF#000000##FFFFFF
##222F701.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003972
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #222f70;
/* rgb */ color: rgb(34, 47, 112);
/* oklch */ color: oklch(33.5% 0.113 270.6);
Tailwind
colors: {
  custom: {
    50: '#67679a',
    500: '#222f70',
    950: '#000000',
  },
}
SCSS
$custom: #222f70;
$custom-light: #67679a;
$custom-dark: #000000;
JSON
{
  "hex": "#222f70",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 112
  },
  "hsl": {
    "h": 230,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33529,
    "c": 0.11315,
    "h": 270.6
  },
  "luminance": 0.03543
}

Semantic roles & 50–950 ramp

primary
#222F70
secondary
#A3954A
accent
#C54BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #222F70

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

Preview Lab → · Contrast checker → · Palette generator →

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