#22458F#22458F

#22458F is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.9% C 0.129 H 262.9°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#22458F
RGBrgb(34, 69, 143)
HSLhsl(221, 62%, 35%)
HSVhsv(221, 76%, 56%)
CMYKcmyk(76.2%, 51.7%, 0%, 43.9%)
CIE-LABlab(30.83, 14.92, -44.67)
CIE-LCHlch(30.83, 47.09, 288.47°)
OKLaboklab(40.88% -0.0159 -0.1284)
OKLCHoklch(40.88% 0.129 262.9)
XYZxyz(7.7440, 6.5786, 26.8430)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22458F #8F6C22
analogous
#227C8F #22458F #36228F
triadic
#22458F #8F2245 #458F22
tetradic
#22458F #8F227C #8F6C22 #228F36
square
#22458F #8F227C #8F6C22 #228F36
split-complementary
#22458F #8F3622 #7C8F22
monochromatic
#0A152C #162D5E #22458F #2E5DC0 #557ED7

Accessibility & contrast

On white

9.07
#22458F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#22458F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22458F
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22458F#FFFFFF#000000##FFFFFF
##22458F1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174E92
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #22458f;
/* rgb */ color: rgb(34, 69, 143);
/* oklch */ color: oklch(40.9% 0.129 262.9);
Tailwind
colors: {
  custom: {
    50: '#6d78b0',
    500: '#22458f',
    950: '#000000',
  },
}
SCSS
$custom: #22458f;
$custom-light: #6d78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#22458f",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 143
  },
  "hsl": {
    "h": 220.734,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40881,
    "c": 0.12942,
    "h": 262.9
  },
  "luminance": 0.06579
}

Semantic roles & 50–950 ramp

primary
#22458F
secondary
#BA9952
accent
#B143E5
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #22458F

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

Preview Lab → · Contrast checker → · Palette generator →

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