#22438D#22438D

#22438D is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.3% C 0.129 H 263.6°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#22438D
RGBrgb(34, 67, 141)
HSLhsl(221, 61%, 34%)
HSVhsv(221, 76%, 55%)
CMYKcmyk(75.9%, 52.5%, 0%, 44.7%)
CIE-LABlab(30.10, 15.49, -44.62)
CIE-LCHlch(30.10, 47.23, 289.15°)
OKLaboklab(40.28% -0.0144 -0.1283)
OKLCHoklch(40.28% 0.129 263.6)
XYZxyz(7.4729, 6.2767, 26.0118)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22438D #8D6C22
analogous
#22798D #22438D #36228D
triadic
#22438D #8D2243 #438D22
tetradic
#22438D #8D2279 #8D6C22 #228D36
square
#22438D #8D2279 #8D6C22 #228D36
split-complementary
#22438D #8D3622 #798D22
monochromatic
#0A142A #162C5C #22438D #2E5ABE #547CD6

Accessibility & contrast

On white

9.31
#22438D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#22438D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22438D
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22438D#FFFFFF#000000##FFFFFF
##22438D1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144C90
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #22438d;
/* rgb */ color: rgb(34, 67, 141);
/* oklch */ color: oklch(40.3% 0.129 263.6);
Tailwind
colors: {
  custom: {
    50: '#6d76af',
    500: '#22438d',
    950: '#000000',
  },
}
SCSS
$custom: #22438d;
$custom-light: #6d76af;
$custom-dark: #000000;
JSON
{
  "hex": "#22438d",
  "rgb": {
    "r": 34,
    "g": 67,
    "b": 141
  },
  "hsl": {
    "h": 221.495,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40281,
    "c": 0.12913,
    "h": 263.6
  },
  "luminance": 0.06277
}

Semantic roles & 50–950 ramp

primary
#22438D
secondary
#B99951
accent
#B344E4
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #22438D

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

Preview Lab → · Contrast checker → · Palette generator →

#22438D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva