#22559E#22559E

#22559E is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.6% C 0.131 H 258.0°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#22559E
RGBrgb(34, 85, 158)
HSLhsl(215, 65%, 38%)
HSVhsv(215, 78%, 62%)
CMYKcmyk(78.5%, 46.2%, 0%, 38%)
CIE-LABlab(36.56, 10.08, -44.53)
CIE-LCHlch(36.56, 45.66, 282.76°)
OKLaboklab(45.61% -0.0272 -0.1277)
OKLCHoklch(45.61% 0.131 258)
XYZxyz(10.0775, 9.3045, 33.6060)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22559E #9E6B22
analogous
#22939E #22559E #2D229E
triadic
#22559E #9E2255 #559E22
tetradic
#22559E #9E2293 #9E6B22 #229E2D
square
#22559E #9E2293 #9E6B22 #229E2D
split-complementary
#22559E #9E2D22 #939E22
monochromatic
#0C1F39 #173A6C #22559E #2D70D0 #5E92DC

Accessibility & contrast

On white

7.34
#22559E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#22559E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22559E
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22559E#FFFFFF#000000##FFFFFF
##22559E1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5CA1
Deuteranopia (green-blind)
#12519D
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #22559e;
/* rgb */ color: rgb(34, 85, 158);
/* oklch */ color: oklch(45.6% 0.131 258.0);
Tailwind
colors: {
  custom: {
    50: '#7084bb',
    500: '#22559e',
    950: '#000000',
  },
}
SCSS
$custom: #22559e;
$custom-light: #7084bb;
$custom-dark: #000000;
JSON
{
  "hex": "#22559e",
  "rgb": {
    "r": 34,
    "g": 85,
    "b": 158
  },
  "hsl": {
    "h": 215.323,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45612,
    "c": 0.1306,
    "h": 258
  },
  "luminance": 0.09306
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22559E

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

Preview Lab → · Contrast checker → · Palette generator →

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