#222F50#222F50

#222F50 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.1% C 0.062 H 266.6°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#222F50
RGBrgb(34, 47, 80)
HSLhsl(223, 40%, 22%)
HSVhsv(223, 58%, 31%)
CMYKcmyk(57.5%, 41.3%, 0%, 68.6%)
CIE-LABlab(19.85, 5.63, -21.93)
CIE-LCHlch(19.85, 22.64, 284.39°)
OKLaboklab(31.1% -0.0037 -0.062)
OKLCHoklch(31.1% 0.062 266.6)
XYZxyz(3.1237, 2.9521, 7.9931)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F50 #504322
analogous
#224650 #222F50 #2C2250
triadic
#222F50 #50222F #2F5022
tetradic
#222F50 #502246 #504322 #22502C
square
#222F50 #502246 #504322 #22502C
split-complementary
#222F50 #502C22 #465022
monochromatic
#090D15 #101625 #222F50 #34487B #4761A6

Accessibility & contrast

On white

13.20
#222F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#222F50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222F50
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F50#FFFFFF#000000##FFFFFF
##222F501.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223251
Deuteranopia (green-blind)
#1D2E4F
Tritanopia (blue-blind)
#0C363B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #222f50;
/* rgb */ color: rgb(34, 47, 80);
/* oklch */ color: oklch(31.1% 0.062 266.6);
Tailwind
colors: {
  custom: {
    50: '#616781',
    500: '#222f50',
    950: '#000000',
  },
}
SCSS
$custom: #222f50;
$custom-light: #616781;
$custom-dark: #000000;
JSON
{
  "hex": "#222f50",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 80
  },
  "hsl": {
    "h": 223.043,
    "s": 40.351,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31098,
    "c": 0.06212,
    "h": 266.6
  },
  "luminance": 0.02952
}

Semantic roles & 50–950 ramp

primary
#222F50
secondary
#84744A
accent
#AE58D0
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#05060A
muted
#797A7C

Preview Lab

Preview with #222F50

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

Preview Lab → · Contrast checker → · Palette generator →

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