#22458E#22458E

#22458E is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.128 H 262.8°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#22458E
RGBrgb(34, 69, 142)
HSLhsl(221, 61%, 35%)
HSVhsv(221, 76%, 56%)
CMYKcmyk(76.1%, 51.4%, 0%, 44.3%)
CIE-LABlab(30.76, 14.52, -44.17)
CIE-LCHlch(30.76, 46.50, 288.20°)
OKLaboklab(40.8% -0.016 -0.127)
OKLCHoklch(40.8% 0.128 262.8)
XYZxyz(7.6686, 6.5485, 26.4458)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22458E #8E6B22
analogous
#227B8E #22458E #35228E
triadic
#22458E #8E2245 #458E22
tetradic
#22458E #8E227B #8E6B22 #228E35
square
#22458E #8E227B #8E6B22 #228E35
split-complementary
#22458E #8E3522 #7B8E22
monochromatic
#0A152B #162D5D #22458E #2E5DBF #547ED6

Accessibility & contrast

On white

9.09
#22458E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#22458E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22458E
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22458E#FFFFFF#000000##FFFFFF
##22458E1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194E91
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #22458e;
/* rgb */ color: rgb(34, 69, 142);
/* oklch */ color: oklch(40.8% 0.128 262.8);
Tailwind
colors: {
  custom: {
    50: '#6d78b0',
    500: '#22458e',
    950: '#000000',
  },
}
SCSS
$custom: #22458e;
$custom-light: #6d78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#22458e",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 142
  },
  "hsl": {
    "h": 220.556,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40804,
    "c": 0.12799,
    "h": 262.8
  },
  "luminance": 0.06549
}

Semantic roles & 50–950 ramp

primary
#22458E
secondary
#BA9852
accent
#B043E4
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #22458E

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

Preview Lab → · Contrast checker → · Palette generator →

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