#22438B#22438B

#22438B is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.1% C 0.126 H 263.3°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#22438B
RGBrgb(34, 67, 139)
HSLhsl(221, 61%, 34%)
HSVhsv(221, 76%, 55%)
CMYKcmyk(75.5%, 51.8%, 0%, 45.5%)
CIE-LABlab(29.96, 14.70, -43.62)
CIE-LCHlch(29.96, 46.03, 288.62°)
OKLaboklab(40.12% -0.0147 -0.1254)
OKLCHoklch(40.12% 0.126 263.3)
XYZxyz(7.3254, 6.2177, 25.2352)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22438B #8B6A22
analogous
#22788B #22438B #36228B
triadic
#22438B #8B2243 #438B22
tetradic
#22438B #8B2278 #8B6A22 #228B36
square
#22438B #8B2278 #8B6A22 #228B36
split-complementary
#22438B #8B3622 #788B22
monochromatic
#0A1429 #162B5A #22438B #2E5BBC #537CD5

Accessibility & contrast

On white

9.36
#22438B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#22438B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22438B
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22438B#FFFFFF#000000##FFFFFF
##22438B1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174C8E
Deuteranopia (green-blind)
#00428A
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #22438b;
/* rgb */ color: rgb(34, 67, 139);
/* oklch */ color: oklch(40.1% 0.126 263.3);
Tailwind
colors: {
  custom: {
    50: '#6c76ad',
    500: '#22438b',
    950: '#000000',
  },
}
SCSS
$custom: #22438b;
$custom-light: #6c76ad;
$custom-dark: #000000;
JSON
{
  "hex": "#22438b",
  "rgb": {
    "r": 34,
    "g": 67,
    "b": 139
  },
  "hsl": {
    "h": 221.143,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40124,
    "c": 0.12625,
    "h": 263.3
  },
  "luminance": 0.06218
}

Semantic roles & 50–950 ramp

primary
#22438B
secondary
#B89850
accent
#B244E4
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #22438B

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

Preview Lab → · Contrast checker → · Palette generator →

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