#22539C#22539C

#22539C is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.0% C 0.130 H 258.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#22539C
RGBrgb(34, 83, 156)
HSLhsl(216, 64%, 37%)
HSVhsv(216, 78%, 61%)
CMYKcmyk(78.2%, 46.8%, 0%, 38.8%)
CIE-LABlab(35.84, 10.62, -44.49)
CIE-LCHlch(35.84, 45.74, 283.42°)
OKLaboklab(45.01% -0.0259 -0.1277)
OKLCHoklch(45.01% 0.13 258.5)
XYZxyz(9.7515, 8.9258, 32.6549)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22539C #9C6B22
analogous
#22909C #22539C #2E229C
triadic
#22539C #9C2253 #539C22
tetradic
#22539C #9C2290 #9C6B22 #229C2E
square
#22539C #9C2290 #9C6B22 #229C2E
split-complementary
#22539C #9C2E22 #909C22
monochromatic
#0C1E38 #17386A #22539C #2D6ECE #5D90DC

Accessibility & contrast

On white

7.54
#22539C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#22539C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22539C
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22539C#FFFFFF#000000##FFFFFF
##22539C1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5A9F
Deuteranopia (green-blind)
#0E4F9B
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #22539c;
/* rgb */ color: rgb(34, 83, 156);
/* oklch */ color: oklch(45.0% 0.130 258.5);
Tailwind
colors: {
  custom: {
    50: '#7082ba',
    500: '#22539c',
    950: '#000000',
  },
}
SCSS
$custom: #22539c;
$custom-light: #7082ba;
$custom-dark: #000000;
JSON
{
  "hex": "#22539c",
  "rgb": {
    "r": 34,
    "g": 83,
    "b": 156
  },
  "hsl": {
    "h": 215.902,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45012,
    "c": 0.13025,
    "h": 258.5
  },
  "luminance": 0.08927
}

Semantic roles & 50–950 ramp

primary
#22539C
secondary
#C0975A
accent
#A441E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #22539C

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

Preview Lab → · Contrast checker → · Palette generator →

#22539C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva