#22488E#22488E

#22488E is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.5% C 0.124 H 261.3°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#22488E
RGBrgb(34, 72, 142)
HSLhsl(219, 61%, 35%)
HSVhsv(219, 76%, 56%)
CMYKcmyk(76.1%, 49.3%, 0%, 44.3%)
CIE-LABlab(31.64, 12.47, -42.75)
CIE-LCHlch(31.64, 44.53, 286.27°)
OKLaboklab(41.48% -0.0187 -0.1227)
OKLCHoklch(41.48% 0.124 261.3)
XYZxyz(7.8578, 6.9269, 26.5088)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22488E #8E6822
analogous
#227E8E #22488E #32228E
triadic
#22488E #8E2248 #488E22
tetradic
#22488E #8E227E #8E6822 #228E32
square
#22488E #8E227E #8E6822 #228E32
split-complementary
#22488E #8E3222 #7E8E22
monochromatic
#0A162B #162F5D #22488E #2E61BF #5482D6

Accessibility & contrast

On white

8.80
#22488E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#22488E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22488E
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22488E#FFFFFF#000000##FFFFFF
##22488E1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215091
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #22488e;
/* rgb */ color: rgb(34, 72, 142);
/* oklch */ color: oklch(41.5% 0.124 261.3);
Tailwind
colors: {
  custom: {
    50: '#6d7aaf',
    500: '#22488e',
    950: '#000000',
  },
}
SCSS
$custom: #22488e;
$custom-light: #6d7aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#22488e",
  "rgb": {
    "r": 34,
    "g": 72,
    "b": 142
  },
  "hsl": {
    "h": 218.889,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4148,
    "c": 0.12414,
    "h": 261.3
  },
  "luminance": 0.06928
}

Semantic roles & 50–950 ramp

primary
#22488E
secondary
#BA9552
accent
#AC43E4
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #22488E

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

Preview Lab → · Contrast checker → · Palette generator →

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