#22294B#22294B

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

Color values

HEX#22294B
RGBrgb(34, 41, 75)
HSLhsl(230, 38%, 21%)
HSVhsv(230, 55%, 29%)
CMYKcmyk(54.7%, 45.3%, 0%, 70.6%)
CIE-LABlab(17.62, 8.08, -22.09)
CIE-LCHlch(17.62, 23.52, 290.09°)
OKLaboklab(29.28% 0.0035 -0.0625)
OKLCHoklch(29.28% 0.063 273.2)
XYZxyz(2.7222, 2.4338, 6.9816)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22294B #4B4422
analogous
#223E4B #22294B #30224B
triadic
#22294B #4B2229 #294B22
tetradic
#22294B #4B223E #4B4422 #224B30
square
#22294B #4B223E #4B4422 #224B30
split-complementary
#22294B #4B3022 #3E4B22
monochromatic
#0A0C15 #0F1221 #22294B #354075 #48579F

Accessibility & contrast

On white

14.12
#22294B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22294B
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22294B#FFFFFF#000000##FFFFFF
##22294B1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2D4C
Deuteranopia (green-blind)
#182A4A
Tritanopia (blue-blind)
#113036
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #22294b;
/* rgb */ color: rgb(34, 41, 75);
/* oklch */ color: oklch(29.3% 0.063 273.2);
Tailwind
colors: {
  custom: {
    50: '#60627d',
    500: '#22294b',
    950: '#000000',
  },
}
SCSS
$custom: #22294b;
$custom-light: #60627d;
$custom-dark: #000000;
JSON
{
  "hex": "#22294b",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 75
  },
  "hsl": {
    "h": 229.756,
    "s": 37.615,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29277,
    "c": 0.06263,
    "h": 273.2
  },
  "luminance": 0.02434
}

Semantic roles & 50–950 ramp

primary
#22294B
secondary
#7F764A
accent
#BA5ACE
background
#F5F5F7
surface
#EAEAEE
border
#C6C6C9
text
#050509
muted
#79797B

Preview Lab

Preview with #22294B

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

Preview Lab → · Contrast checker → · Palette generator →

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