#22458C#22458C

#22458C is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.6% C 0.125 H 262.5°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#22458C
RGBrgb(34, 69, 140)
HSLhsl(220, 61%, 34%)
HSVhsv(220, 76%, 55%)
CMYKcmyk(75.7%, 50.7%, 0%, 45.1%)
CIE-LABlab(30.61, 13.72, -43.17)
CIE-LCHlch(30.61, 45.30, 287.64°)
OKLaboklab(40.65% -0.0163 -0.124)
OKLCHoklch(40.65% 0.125 262.5)
XYZxyz(7.5197, 6.4890, 25.6620)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22458C #8C6922
analogous
#227A8C #22458C #34228C
triadic
#22458C #8C2245 #458C22
tetradic
#22458C #8C227A #8C6922 #228C34
square
#22458C #8C227A #8C6922 #228C34
split-complementary
#22458C #8C3422 #7A8C22
monochromatic
#0A142A #162D5B #22458C #2E5DBD #537ED5

Accessibility & contrast

On white

9.14
#22458C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#22458C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22458C
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22458C#FFFFFF#000000##FFFFFF
##22458C1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4D8F
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #22458c;
/* rgb */ color: rgb(34, 69, 140);
/* oklch */ color: oklch(40.6% 0.125 262.5);
Tailwind
colors: {
  custom: {
    50: '#6d78ae',
    500: '#22458c',
    950: '#000000',
  },
}
SCSS
$custom: #22458c;
$custom-light: #6d78ae;
$custom-dark: #000000;
JSON
{
  "hex": "#22458c",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 220.189,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4065,
    "c": 0.1251,
    "h": 262.5
  },
  "luminance": 0.0649
}

Semantic roles & 50–950 ramp

primary
#22458C
secondary
#B99751
accent
#AF44E4
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #22458C

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

Preview Lab → · Contrast checker → · Palette generator →

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