#22438F#22438F

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

Color values

HEX#22438F
RGBrgb(34, 67, 143)
HSLhsl(222, 62%, 35%)
HSVhsv(222, 76%, 56%)
CMYKcmyk(76.2%, 53.1%, 0%, 43.9%)
CIE-LABlab(30.25, 16.29, -45.61)
CIE-LCHlch(30.25, 48.43, 289.65°)
OKLaboklab(40.44% -0.0142 -0.1312)
OKLCHoklch(40.44% 0.132 263.8)
XYZxyz(7.6230, 6.3367, 26.8026)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22438F #8F6E22
analogous
#227A8F #22438F #38228F
triadic
#22438F #8F2243 #438F22
tetradic
#22438F #8F227A #8F6E22 #228F38
square
#22438F #8F227A #8F6E22 #228F38
split-complementary
#22438F #8F3822 #7A8F22
monochromatic
#0A152C #162C5E #22438F #2E5AC0 #557CD7

Accessibility & contrast

On white

9.26
#22438F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#22438F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22438F
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22438F#FFFFFF#000000##FFFFFF
##22438F1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22438f;
/* rgb */ color: rgb(34, 67, 143);
/* oklch */ color: oklch(40.4% 0.132 263.8);
Tailwind
colors: {
  custom: {
    50: '#6d76b0',
    500: '#22438f',
    950: '#000000',
  },
}
SCSS
$custom: #22438f;
$custom-light: #6d76b0;
$custom-dark: #000000;
JSON
{
  "hex": "#22438f",
  "rgb": {
    "r": 34,
    "g": 67,
    "b": 143
  },
  "hsl": {
    "h": 221.835,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40439,
    "c": 0.13201,
    "h": 263.8
  },
  "luminance": 0.06338
}

Semantic roles & 50–950 ramp

primary
#22438F
secondary
#BA9B52
accent
#B443E5
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #22438F

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

Preview Lab → · Contrast checker → · Palette generator →

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