#222950#222950

#222950 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.6% C 0.071 H 273.6°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#222950
RGBrgb(34, 41, 80)
HSLhsl(231, 40%, 22%)
HSVhsv(231, 58%, 31%)
CMYKcmyk(57.5%, 48.8%, 0%, 68.6%)
CIE-LABlab(17.94, 9.94, -24.96)
CIE-LCHlch(17.94, 26.87, 291.72°)
OKLaboklab(29.63% 0.0045 -0.0709)
OKLCHoklch(29.63% 0.071 273.6)
XYZxyz(2.9001, 2.5050, 7.9185)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222950 #504922
analogous
#224050 #222950 #322250
triadic
#222950 #502229 #295022
tetradic
#222950 #502240 #504922 #225032
square
#222950 #502240 #504922 #225032
split-complementary
#222950 #503222 #405022
monochromatic
#090B15 #101325 #222950 #343F7B #4755A6

Accessibility & contrast

On white

13.99
#222950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#222950 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222950
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222950#FFFFFF#000000##FFFFFF
##2229501.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182E51
Deuteranopia (green-blind)
#132A4F
Tritanopia (blue-blind)
#0D3138
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #222950;
/* rgb */ color: rgb(34, 41, 80);
/* oklch */ color: oklch(29.6% 0.071 273.6);
Tailwind
colors: {
  custom: {
    50: '#616281',
    500: '#222950',
    950: '#000000',
  },
}
SCSS
$custom: #222950;
$custom-light: #616281;
$custom-dark: #000000;
JSON
{
  "hex": "#222950",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 80
  },
  "hsl": {
    "h": 230.87,
    "s": 40.351,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29631,
    "c": 0.07108,
    "h": 273.6
  },
  "luminance": 0.02505
}

Semantic roles & 50–950 ramp

primary
#222950
secondary
#847B4A
accent
#BE58D0
background
#F5F5F7
surface
#EAEAEE
border
#C6C6C9
text
#05050A
muted
#79797C

Preview Lab

Preview with #222950

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

Preview Lab → · Contrast checker → · Palette generator →

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