#22438E#22438E

#22438E is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.131 H 263.7°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#22438E
RGBrgb(34, 67, 142)
HSLhsl(222, 61%, 35%)
HSVhsv(222, 76%, 56%)
CMYKcmyk(76.1%, 52.8%, 0%, 44.3%)
CIE-LABlab(30.17, 15.89, -45.11)
CIE-LCHlch(30.17, 47.83, 289.40°)
OKLaboklab(40.36% -0.0143 -0.1298)
OKLCHoklch(40.36% 0.131 263.7)
XYZxyz(7.5476, 6.3066, 26.4054)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22438E #8E6D22
analogous
#22798E #22438E #37228E
triadic
#22438E #8E2243 #438E22
tetradic
#22438E #8E2279 #8E6D22 #228E37
square
#22438E #8E2279 #8E6D22 #228E37
split-complementary
#22438E #8E3722 #798E22
monochromatic
#0A142B #162C5D #22438E #2E5ABF #547CD6

Accessibility & contrast

On white

9.29
#22438E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22438E
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22438E#FFFFFF#000000##FFFFFF
##22438E1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124C91
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #22438e;
/* rgb */ color: rgb(34, 67, 142);
/* oklch */ color: oklch(40.4% 0.131 263.7);
Tailwind
colors: {
  custom: {
    50: '#6d76b0',
    500: '#22438e',
    950: '#000000',
  },
}
SCSS
$custom: #22438e;
$custom-light: #6d76b0;
$custom-dark: #000000;
JSON
{
  "hex": "#22438e",
  "rgb": {
    "r": 34,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 221.667,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40359,
    "c": 0.13058,
    "h": 263.7
  },
  "luminance": 0.06307
}

Semantic roles & 50–950 ramp

primary
#22438E
secondary
#BA9A52
accent
#B343E4
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #22438E

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

Preview Lab → · Contrast checker → · Palette generator →

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