#222750#222750

#222750 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.2% C 0.074 H 275.6°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#222750
RGBrgb(34, 39, 80)
HSLhsl(233, 40%, 22%)
HSVhsv(233, 58%, 31%)
CMYKcmyk(57.5%, 51.2%, 0%, 68.6%)
CIE-LABlab(17.32, 11.40, -25.95)
CIE-LCHlch(17.32, 28.35, 293.71°)
OKLaboklab(29.16% 0.0072 -0.0739)
OKLCHoklch(29.16% 0.074 275.6)
XYZxyz(2.8327, 2.3701, 7.8961)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222750 #504B22
analogous
#223E50 #222750 #342250
triadic
#222750 #502227 #275022
tetradic
#222750 #50223E #504B22 #225034
square
#222750 #50223E #504B22 #225034
split-complementary
#222750 #503422 #3E5022
monochromatic
#090A15 #101225 #222750 #343C7B #4751A6

Accessibility & contrast

On white

14.25
#222750 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#222750 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222750
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222750#FFFFFF#000000##FFFFFF
##2227501.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152D52
Deuteranopia (green-blind)
#10294F
Tritanopia (blue-blind)
#0D3037
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #222750;
/* rgb */ color: rgb(34, 39, 80);
/* oklch */ color: oklch(29.2% 0.074 275.6);
Tailwind
colors: {
  custom: {
    50: '#616081',
    500: '#222750',
    950: '#000000',
  },
}
SCSS
$custom: #222750;
$custom-light: #616081;
$custom-dark: #000000;
JSON
{
  "hex": "#222750",
  "rgb": {
    "r": 34,
    "g": 39,
    "b": 80
  },
  "hsl": {
    "h": 233.478,
    "s": 40.351,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29159,
    "c": 0.07421,
    "h": 275.6
  },
  "luminance": 0.0237
}

Semantic roles & 50–950 ramp

primary
#222750
secondary
#847E4A
accent
#C358D0
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05050A
muted
#79797C

Preview Lab

Preview with #222750

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

Preview Lab → · Contrast checker → · Palette generator →

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