#22419F#22419F

#22419F is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.157 H 265.8°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#22419F
RGBrgb(34, 65, 159)
HSLhsl(225, 65%, 38%)
HSVhsv(225, 79%, 62%)
CMYKcmyk(78.6%, 59.1%, 0%, 37.6%)
CIE-LABlab(30.93, 23.95, -54.25)
CIE-LCHlch(30.93, 59.30, 293.82°)
OKLaboklab(41.35% -0.0115 -0.1567)
OKLCHoklch(41.35% 0.157 265.8)
XYZxyz(8.8058, 6.6229, 33.6084)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22419F #9F8022
analogous
#227F9F #22419F #41229F
triadic
#22419F #9F2241 #419F22
tetradic
#22419F #9F227F #9F8022 #229F41
square
#22419F #9F227F #9F8022 #229F41
split-complementary
#22419F #9F4122 #7F9F22
monochromatic
#0C183A #172C6D #22419F #2D56D1 #5F7EDD

Accessibility & contrast

On white

9.03
#22419F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#22419F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22419F
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22419F#FFFFFF#000000##FFFFFF
##22419F1.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #22419f;
/* rgb */ color: rgb(34, 65, 159);
/* oklch */ color: oklch(41.3% 0.157 265.8);
Tailwind
colors: {
  custom: {
    50: '#7275bc',
    500: '#22419f',
    950: '#000000',
  },
}
SCSS
$custom: #22419f;
$custom-light: #7275bc;
$custom-dark: #000000;
JSON
{
  "hex": "#22419f",
  "rgb": {
    "r": 34,
    "g": 65,
    "b": 159
  },
  "hsl": {
    "h": 225.12,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41349,
    "c": 0.15709,
    "h": 265.8
  },
  "luminance": 0.06624
}

Semantic roles & 50–950 ramp

primary
#22419F
secondary
#C1A85B
accent
#BE40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #22419F

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

Preview Lab → · Contrast checker → · Palette generator →

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