#22438C#22438C

#22438C is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.2% C 0.128 H 263.4°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#22438C
RGBrgb(34, 67, 140)
HSLhsl(221, 61%, 34%)
HSVhsv(221, 76%, 55%)
CMYKcmyk(75.7%, 52.1%, 0%, 45.1%)
CIE-LABlab(30.03, 15.10, -44.12)
CIE-LCHlch(30.03, 46.63, 288.89°)
OKLaboklab(40.2% -0.0146 -0.1269)
OKLCHoklch(40.2% 0.128 263.4)
XYZxyz(7.3988, 6.2470, 25.6217)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22438C #8C6B22
analogous
#22788C #22438C #36228C
triadic
#22438C #8C2243 #438C22
tetradic
#22438C #8C2278 #8C6B22 #228C36
square
#22438C #8C2278 #8C6B22 #228C36
split-complementary
#22438C #8C3622 #788C22
monochromatic
#0A142A #162B5B #22438C #2E5BBD #537CD5

Accessibility & contrast

On white

9.33
#22438C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#22438C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22438C
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22438C#FFFFFF#000000##FFFFFF
##22438C1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164C8F
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #22438c;
/* rgb */ color: rgb(34, 67, 140);
/* oklch */ color: oklch(40.2% 0.128 263.4);
Tailwind
colors: {
  custom: {
    50: '#6d76ae',
    500: '#22438c',
    950: '#000000',
  },
}
SCSS
$custom: #22438c;
$custom-light: #6d76ae;
$custom-dark: #000000;
JSON
{
  "hex": "#22438c",
  "rgb": {
    "r": 34,
    "g": 67,
    "b": 140
  },
  "hsl": {
    "h": 221.321,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40202,
    "c": 0.1277,
    "h": 263.4
  },
  "luminance": 0.06248
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22438C

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

Preview Lab → · Contrast checker → · Palette generator →

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