#22458B#22458B

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

Color values

HEX#22458B
RGBrgb(34, 69, 139)
HSLhsl(220, 61%, 34%)
HSVhsv(220, 76%, 55%)
CMYKcmyk(75.5%, 50.4%, 0%, 45.5%)
CIE-LABlab(30.54, 13.33, -42.67)
CIE-LCHlch(30.54, 44.70, 287.35°)
OKLaboklab(40.57% -0.0165 -0.1226)
OKLCHoklch(40.57% 0.124 262.3)
XYZxyz(7.4463, 6.4596, 25.2755)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22458B #8B6822
analogous
#227A8B #22458B #34228B
triadic
#22458B #8B2245 #458B22
tetradic
#22458B #8B227A #8B6822 #228B34
square
#22458B #8B227A #8B6822 #228B34
split-complementary
#22458B #8B3422 #7A8B22
monochromatic
#0A1429 #162D5A #22458B #2E5DBC #537ED5

Accessibility & contrast

On white

9.16
#22458B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22458B
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22458B#FFFFFF#000000##FFFFFF
##22458B1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4D8E
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#005661
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #22458b;
/* rgb */ color: rgb(34, 69, 139);
/* oklch */ color: oklch(40.6% 0.124 262.3);
Tailwind
colors: {
  custom: {
    50: '#6c78ad',
    500: '#22458b',
    950: '#000000',
  },
}
SCSS
$custom: #22458b;
$custom-light: #6c78ad;
$custom-dark: #000000;
JSON
{
  "hex": "#22458b",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 139
  },
  "hsl": {
    "h": 220,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40573,
    "c": 0.12366,
    "h": 262.3
  },
  "luminance": 0.0646
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22458B

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

Preview Lab → · Contrast checker → · Palette generator →

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