#22559D#22559D

#22559D is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.5% C 0.129 H 257.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#22559D
RGBrgb(34, 85, 157)
HSLhsl(215, 64%, 37%)
HSVhsv(215, 78%, 62%)
CMYKcmyk(78.3%, 45.9%, 0%, 38.4%)
CIE-LABlab(36.50, 9.69, -44.04)
CIE-LCHlch(36.50, 45.09, 282.41°)
OKLaboklab(45.54% -0.0274 -0.1263)
OKLCHoklch(45.54% 0.129 257.7)
XYZxyz(9.9918, 9.2702, 33.1545)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22559D #9D6A22
analogous
#22939D #22559D #2D229D
triadic
#22559D #9D2255 #559D22
tetradic
#22559D #9D2293 #9D6A22 #229D2D
square
#22559D #9D2293 #9D6A22 #229D2D
split-complementary
#22559D #9D2D22 #939D22
monochromatic
#0C1F38 #173A6B #22559D #2D70CF #5D92DC

Accessibility & contrast

On white

7.36
#22559D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#22559D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22559D
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22559D#FFFFFF#000000##FFFFFF
##22559D1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5CA0
Deuteranopia (green-blind)
#14519C
Tritanopia (blue-blind)
#006671
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #22559d;
/* rgb */ color: rgb(34, 85, 157);
/* oklch */ color: oklch(45.5% 0.129 257.7);
Tailwind
colors: {
  custom: {
    50: '#7084ba',
    500: '#22559d',
    950: '#000000',
  },
}
SCSS
$custom: #22559d;
$custom-light: #7084ba;
$custom-dark: #000000;
JSON
{
  "hex": "#22559d",
  "rgb": {
    "r": 34,
    "g": 85,
    "b": 157
  },
  "hsl": {
    "h": 215.122,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45541,
    "c": 0.12922,
    "h": 257.7
  },
  "luminance": 0.09271
}

Semantic roles & 50–950 ramp

primary
#22559D
secondary
#C1965A
accent
#A240E7
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #22559D

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

Preview Lab → · Contrast checker → · Palette generator →

#22559D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva