#22458A#22458A

#22458A is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.5% C 0.122 H 262.2°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#22458A
RGBrgb(34, 69, 138)
HSLhsl(220, 60%, 34%)
HSVhsv(220, 75%, 54%)
CMYKcmyk(75.4%, 50%, 0%, 45.9%)
CIE-LABlab(30.47, 12.93, -42.17)
CIE-LCHlch(30.47, 44.10, 287.05°)
OKLaboklab(40.5% -0.0166 -0.1211)
OKLCHoklch(40.5% 0.122 262.2)
XYZxyz(7.3736, 6.4305, 24.8924)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22458A #8A6722
analogous
#22798A #22458A #33228A
triadic
#22458A #8A2245 #458A22
tetradic
#22458A #8A2279 #8A6722 #228A33
square
#22458A #8A2279 #8A6722 #228A33
split-complementary
#22458A #8A3322 #798A22
monochromatic
#0A1428 #162C59 #22458A #2E5EBB #527ED4

Accessibility & contrast

On white

9.19
#22458A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#22458A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22458A
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22458A#FFFFFF#000000##FFFFFF
##22458A1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4D8D
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #22458a;
/* rgb */ color: rgb(34, 69, 138);
/* oklch */ color: oklch(40.5% 0.122 262.2);
Tailwind
colors: {
  custom: {
    50: '#6c78ad',
    500: '#22458a',
    950: '#000000',
  },
}
SCSS
$custom: #22458a;
$custom-light: #6c78ad;
$custom-dark: #000000;
JSON
{
  "hex": "#22458a",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 138
  },
  "hsl": {
    "h": 219.808,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40497,
    "c": 0.12221,
    "h": 262.2
  },
  "luminance": 0.06431
}

Semantic roles & 50–950 ramp

primary
#22458A
secondary
#B89550
accent
#AE44E4
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #22458A

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

Preview Lab → · Contrast checker → · Palette generator →

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