#22294C#22294C

#22294C is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.064 H 273.3°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#22294C
RGBrgb(34, 41, 76)
HSLhsl(230, 38%, 22%)
HSVhsv(230, 55%, 30%)
CMYKcmyk(55.3%, 46.1%, 0%, 70.2%)
CIE-LABlab(17.68, 8.45, -22.67)
CIE-LCHlch(17.68, 24.19, 290.44°)
OKLaboklab(29.35% 0.0037 -0.0642)
OKLCHoklch(29.35% 0.064 273.3)
XYZxyz(2.7567, 2.4476, 7.1632)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22294C #4C4522
analogous
#223E4C #22294C #30224C
triadic
#22294C #4C2229 #294C22
tetradic
#22294C #4C223E #4C4522 #224C30
square
#22294C #4C223E #4C4522 #224C30
split-complementary
#22294C #4C3022 #3E4C22
monochromatic
#090B15 #0F1222 #22294C #354076 #4857A1

Accessibility & contrast

On white

14.10
#22294C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#22294C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22294C
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22294C#FFFFFF#000000##FFFFFF
##22294C1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2D4D
Deuteranopia (green-blind)
#172A4B
Tritanopia (blue-blind)
#113036
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #22294c;
/* rgb */ color: rgb(34, 41, 76);
/* oklch */ color: oklch(29.3% 0.064 273.3);
Tailwind
colors: {
  custom: {
    50: '#60627e',
    500: '#22294c',
    950: '#000000',
  },
}
SCSS
$custom: #22294c;
$custom-light: #60627e;
$custom-dark: #000000;
JSON
{
  "hex": "#22294c",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 76
  },
  "hsl": {
    "h": 230,
    "s": 38.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29347,
    "c": 0.06433,
    "h": 273.3
  },
  "luminance": 0.02448
}

Semantic roles & 50–950 ramp

primary
#22294C
secondary
#80774A
accent
#BB5ACE
background
#F5F5F7
surface
#EAEAEE
border
#C6C6C9
text
#05050A
muted
#79797C

Preview Lab

Preview with #22294C

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

Preview Lab → · Contrast checker → · Palette generator →

#22294C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva