#22334E#22334E

#22334E is a dark, muted blue. Relative luminance 0.033; OKLCH L 32.0% C 0.054 H 259.4°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#22334E
RGBrgb(34, 51, 78)
HSLhsl(217, 39%, 22%)
HSVhsv(217, 56%, 31%)
CMYKcmyk(56.4%, 34.6%, 0%, 69.4%)
CIE-LABlab(21.05, 2.07, -18.71)
CIE-LCHlch(21.05, 18.82, 276.31°)
OKLaboklab(31.99% -0.0099 -0.0526)
OKLCHoklch(31.99% 0.054 259.4)
XYZxyz(3.2182, 3.2576, 7.6654)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22334E #4E3D22
analogous
#22494E #22334E #27224E
triadic
#22334E #4E2233 #334E22
tetradic
#22334E #4E2249 #4E3D22 #224E27
square
#22334E #4E2249 #4E3D22 #224E27
split-complementary
#22334E #4E2722 #494E22
monochromatic
#090E15 #0F1723 #22334E #354F79 #476BA3

Accessibility & contrast

On white

12.71
#22334E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#22334E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22334E
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22334E#FFFFFF#000000##FFFFFF
##22334E1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28354F
Deuteranopia (green-blind)
#23314D
Tritanopia (blue-blind)
#0D393D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #22334e;
/* rgb */ color: rgb(34, 51, 78);
/* oklch */ color: oklch(32.0% 0.054 259.4);
Tailwind
colors: {
  custom: {
    50: '#606a7f',
    500: '#22334e',
    950: '#000000',
  },
}
SCSS
$custom: #22334e;
$custom-light: #606a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#22334e",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 78
  },
  "hsl": {
    "h": 216.818,
    "s": 39.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.3199,
    "c": 0.05352,
    "h": 259.4
  },
  "luminance": 0.03258
}

Semantic roles & 50–950 ramp

primary
#22334E
secondary
#826C4A
accent
#A159CF
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#05060A
muted
#797A7C

Preview Lab

Preview with #22334E

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

Preview Lab → · Contrast checker → · Palette generator →

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