#22559F#22559F

#22559F is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.7% C 0.132 H 258.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#22559F
RGBrgb(34, 85, 159)
HSLhsl(216, 65%, 38%)
HSVhsv(216, 79%, 62%)
CMYKcmyk(78.6%, 46.5%, 0%, 37.6%)
CIE-LABlab(36.63, 10.48, -45.03)
CIE-LCHlch(36.63, 46.23, 283.10°)
OKLaboklab(45.68% -0.0271 -0.1292)
OKLCHoklch(45.68% 0.132 258.2)
XYZxyz(10.1639, 9.3391, 34.0611)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22559F #9F6C22
analogous
#22939F #22559F #2D229F
triadic
#22559F #9F2255 #559F22
tetradic
#22559F #9F2293 #9F6C22 #229F2D
square
#22559F #9F2293 #9F6C22 #229F2D
split-complementary
#22559F #9F2D22 #939F22
monochromatic
#0C1F3A #173A6D #22559F #2D70D1 #5F92DD

Accessibility & contrast

On white

7.32
#22559F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#22559F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22559F
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22559F#FFFFFF#000000##FFFFFF
##22559F1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5CA2
Deuteranopia (green-blind)
#10519E
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #22559f;
/* rgb */ color: rgb(34, 85, 159);
/* oklch */ color: oklch(45.7% 0.132 258.2);
Tailwind
colors: {
  custom: {
    50: '#7084bc',
    500: '#22559f',
    950: '#000000',
  },
}
SCSS
$custom: #22559f;
$custom-light: #7084bc;
$custom-dark: #000000;
JSON
{
  "hex": "#22559f",
  "rgb": {
    "r": 34,
    "g": 85,
    "b": 159
  },
  "hsl": {
    "h": 215.52,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45683,
    "c": 0.13199,
    "h": 258.2
  },
  "luminance": 0.0934
}

Semantic roles & 50–950 ramp

primary
#22559F
secondary
#C1985B
accent
#A340E8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #22559F

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

Preview Lab → · Contrast checker → · Palette generator →

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