#222850#222850

#222850 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.4% C 0.073 H 274.6°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#222850
RGBrgb(34, 40, 80)
HSLhsl(232, 40%, 22%)
HSVhsv(232, 58%, 31%)
CMYKcmyk(57.5%, 50%, 0%, 68.6%)
CIE-LABlab(17.63, 10.67, -25.46)
CIE-LCHlch(17.63, 27.60, 292.74°)
OKLaboklab(29.39% 0.0059 -0.0724)
OKLCHoklch(29.39% 0.073 274.6)
XYZxyz(2.8660, 2.4367, 7.9072)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222850 #504A22
analogous
#223F50 #222850 #332250
triadic
#222850 #502228 #285022
tetradic
#222850 #50223F #504A22 #225033
square
#222850 #50223F #504A22 #225033
split-complementary
#222850 #503322 #3F5022
monochromatic
#090B15 #101325 #222850 #343D7B #4753A6

Accessibility & contrast

On white

14.12
#222850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#222850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222850
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222850#FFFFFF#000000##FFFFFF
##2228501.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172D51
Deuteranopia (green-blind)
#12294F
Tritanopia (blue-blind)
#0D3138
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #222850;
/* rgb */ color: rgb(34, 40, 80);
/* oklch */ color: oklch(29.4% 0.073 274.6);
Tailwind
colors: {
  custom: {
    50: '#616181',
    500: '#222850',
    950: '#000000',
  },
}
SCSS
$custom: #222850;
$custom-light: #616181;
$custom-dark: #000000;
JSON
{
  "hex": "#222850",
  "rgb": {
    "r": 34,
    "g": 40,
    "b": 80
  },
  "hsl": {
    "h": 232.174,
    "s": 40.351,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29394,
    "c": 0.07265,
    "h": 274.6
  },
  "luminance": 0.02437
}

Semantic roles & 50–950 ramp

primary
#222850
secondary
#847C4A
accent
#C058D0
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05050A
muted
#79797C

Preview Lab

Preview with #222850

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

Preview Lab → · Contrast checker → · Palette generator →

#222850 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva