#22459E#22459E

#22459E is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.151 H 264.5°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#22459E
RGBrgb(34, 69, 158)
HSLhsl(223, 65%, 38%)
HSVhsv(223, 78%, 62%)
CMYKcmyk(78.5%, 56.3%, 0%, 38%)
CIE-LABlab(31.95, 20.85, -51.98)
CIE-LCHlch(31.95, 56.01, 291.85°)
OKLaboklab(42.09% -0.0144 -0.1499)
OKLCHoklch(42.09% 0.151 264.5)
XYZxyz(8.9572, 7.0639, 33.2325)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22459E #9E7B22
analogous
#22839E #22459E #3D229E
triadic
#22459E #9E2245 #459E22
tetradic
#22459E #9E2283 #9E7B22 #229E3D
square
#22459E #9E2283 #9E7B22 #229E3D
split-complementary
#22459E #9E3D22 #839E22
monochromatic
#0C1939 #172F6C #22459E #2D5BD0 #5E82DC

Accessibility & contrast

On white

8.70
#22459E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#22459E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22459E
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22459E#FFFFFF#000000##FFFFFF
##22459E1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #22459e;
/* rgb */ color: rgb(34, 69, 158);
/* oklch */ color: oklch(42.1% 0.151 264.5);
Tailwind
colors: {
  custom: {
    50: '#7178bb',
    500: '#22459e',
    950: '#000000',
  },
}
SCSS
$custom: #22459e;
$custom-light: #7178bb;
$custom-dark: #000000;
JSON
{
  "hex": "#22459e",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 158
  },
  "hsl": {
    "h": 223.065,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4209,
    "c": 0.15064,
    "h": 264.5
  },
  "luminance": 0.07065
}

Semantic roles & 50–950 ramp

primary
#22459E
secondary
#C1A45B
accent
#B840E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #22459E

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

Preview Lab → · Contrast checker → · Palette generator →

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