#222E50#222E50

#222E50 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.8% C 0.064 H 267.9°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#222E50
RGBrgb(34, 46, 80)
HSLhsl(224, 40%, 22%)
HSVhsv(224, 58%, 31%)
CMYKcmyk(57.5%, 42.5%, 0%, 68.6%)
CIE-LABlab(19.53, 6.34, -22.44)
CIE-LCHlch(19.53, 23.32, 285.78°)
OKLaboklab(30.85% -0.0023 -0.0635)
OKLCHoklch(30.85% 0.064 267.9)
XYZxyz(3.0842, 2.8730, 7.9799)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E50 #504422
analogous
#224550 #222E50 #2D2250
triadic
#222E50 #50222E #2E5022
tetradic
#222E50 #502245 #504422 #22502D
square
#222E50 #502245 #504422 #22502D
split-complementary
#222E50 #502D22 #455022
monochromatic
#090C15 #101525 #222E50 #34477B #475FA6

Accessibility & contrast

On white

13.34
#222E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#222E50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222E50
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E50#FFFFFF#000000##FFFFFF
##222E501.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203151
Deuteranopia (green-blind)
#1B2D4F
Tritanopia (blue-blind)
#0C353B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #222e50;
/* rgb */ color: rgb(34, 46, 80);
/* oklch */ color: oklch(30.8% 0.064 267.9);
Tailwind
colors: {
  custom: {
    50: '#616681',
    500: '#222e50',
    950: '#000000',
  },
}
SCSS
$custom: #222e50;
$custom-light: #616681;
$custom-dark: #000000;
JSON
{
  "hex": "#222e50",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 80
  },
  "hsl": {
    "h": 224.348,
    "s": 40.351,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30849,
    "c": 0.06355,
    "h": 267.9
  },
  "luminance": 0.02873
}

Semantic roles & 50–950 ramp

primary
#222E50
secondary
#84754A
accent
#B158D0
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#05050A
muted
#797A7C

Preview Lab

Preview with #222E50

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

Preview Lab → · Contrast checker → · Palette generator →

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