#22295D#22295D

#22295D is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.6% C 0.092 H 273.9°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#22295D
RGBrgb(34, 41, 93)
HSLhsl(233, 46%, 25%)
HSVhsv(233, 63%, 36%)
CMYKcmyk(63.4%, 55.9%, 0%, 63.5%)
CIE-LABlab(18.87, 14.90, -32.17)
CIE-LCHlch(18.87, 35.45, 294.85°)
OKLaboklab(30.63% 0.0063 -0.0921)
OKLCHoklch(30.63% 0.092 273.9)
XYZxyz(3.4278, 2.7160, 10.6974)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22295D #5D5622
analogous
#22475D #22295D #38225D
triadic
#22295D #5D2229 #295D22
tetradic
#22295D #5D2247 #5D5622 #225D38
square
#22295D #5D2247 #5D5622 #225D38
split-complementary
#22295D #5D3822 #475D22
monochromatic
#080A16 #121530 #22295D #323D8A #4351B7

Accessibility & contrast

On white

13.61
#22295D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#22295D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22295D
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22295D#FFFFFF#000000##FFFFFF
##22295D1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B305F
Deuteranopia (green-blind)
#002B5C
Tritanopia (blue-blind)
#00353E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #22295d;
/* rgb */ color: rgb(34, 41, 93);
/* oklch */ color: oklch(30.6% 0.092 273.9);
Tailwind
colors: {
  custom: {
    50: '#64628b',
    500: '#22295d',
    950: '#000000',
  },
}
SCSS
$custom: #22295d;
$custom-light: #64628b;
$custom-dark: #000000;
JSON
{
  "hex": "#22295d",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 93
  },
  "hsl": {
    "h": 232.881,
    "s": 46.457,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30632,
    "c": 0.09232,
    "h": 273.9
  },
  "luminance": 0.02716
}

Semantic roles & 50–950 ramp

primary
#22295D
secondary
#91894A
accent
#C652D6
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #22295D

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

Preview Lab → · Contrast checker → · Palette generator →

#22295D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva