#22398F#22398F

#22398F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.145 H 267.5°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#22398F
RGBrgb(34, 57, 143)
HSLhsl(227, 62%, 35%)
HSVhsv(227, 76%, 56%)
CMYKcmyk(76.2%, 60.1%, 0%, 43.9%)
CIE-LABlab(27.43, 23.16, -50.18)
CIE-LCHlch(27.43, 55.27, 294.78°)
OKLaboklab(38.32% -0.0063 -0.1448)
OKLCHoklch(38.32% 0.145 267.5)
XYZxyz(7.0790, 5.2487, 26.6213)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22398F #8F7822
analogous
#22708F #22398F #41228F
triadic
#22398F #8F2239 #398F22
tetradic
#22398F #8F2270 #8F7822 #228F41
square
#22398F #8F2270 #8F7822 #228F41
split-complementary
#22398F #8F4122 #708F22
monochromatic
#0A122C #16255E #22398F #2E4DC0 #5570D7

Accessibility & contrast

On white

10.24
#22398F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#22398F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22398F
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22398F#FFFFFF#000000##FFFFFF
##22398F1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #22398f;
/* rgb */ color: rgb(34, 57, 143);
/* oklch */ color: oklch(38.3% 0.145 267.5);
Tailwind
colors: {
  custom: {
    50: '#6e6fb1',
    500: '#22398f',
    950: '#000000',
  },
}
SCSS
$custom: #22398f;
$custom-light: #6e6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#22398f",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 227.339,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38318,
    "c": 0.14499,
    "h": 267.5
  },
  "luminance": 0.0525
}

Semantic roles & 50–950 ramp

primary
#22398F
secondary
#BAA452
accent
#C343E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #22398F

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

Preview Lab → · Contrast checker → · Palette generator →

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