#22274C#22274C

#22274C is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.9% C 0.067 H 275.5°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#22274C
RGBrgb(34, 39, 76)
HSLhsl(233, 38%, 22%)
HSVhsv(233, 55%, 30%)
CMYKcmyk(55.3%, 48.7%, 0%, 70.2%)
CIE-LABlab(17.05, 9.90, -23.67)
CIE-LCHlch(17.05, 25.66, 292.70°)
OKLaboklab(28.87% 0.0065 -0.0672)
OKLCHoklch(28.87% 0.067 275.5)
XYZxyz(2.6893, 2.3128, 7.1408)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22274C #4C4722
analogous
#223C4C #22274C #32224C
triadic
#22274C #4C2227 #274C22
tetradic
#22274C #4C223C #4C4722 #224C32
square
#22274C #4C223C #4C4722 #224C32
split-complementary
#22274C #4C3222 #3C4C22
monochromatic
#090B15 #0F1122 #22274C #353D76 #4852A1

Accessibility & contrast

On white

14.36
#22274C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#22274C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22274C
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22274C#FFFFFF#000000##FFFFFF
##22274C1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182C4D
Deuteranopia (green-blind)
#14284B
Tritanopia (blue-blind)
#112F35
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #22274c;
/* rgb */ color: rgb(34, 39, 76);
/* oklch */ color: oklch(28.9% 0.067 275.5);
Tailwind
colors: {
  custom: {
    50: '#60607e',
    500: '#22274c',
    950: '#000000',
  },
}
SCSS
$custom: #22274c;
$custom-light: #60607e;
$custom-dark: #000000;
JSON
{
  "hex": "#22274c",
  "rgb": {
    "r": 34,
    "g": 39,
    "b": 76
  },
  "hsl": {
    "h": 232.857,
    "s": 38.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28865,
    "c": 0.06748,
    "h": 275.5
  },
  "luminance": 0.02313
}

Semantic roles & 50–950 ramp

primary
#22274C
secondary
#80794A
accent
#C05ACE
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05050A
muted
#79797C

Preview Lab

Preview with #22274C

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

Preview Lab → · Contrast checker → · Palette generator →

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