#22274F#22274F

#22274F is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.1% C 0.073 H 275.6°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#22274F
RGBrgb(34, 39, 79)
HSLhsl(233, 40%, 22%)
HSVhsv(233, 57%, 31%)
CMYKcmyk(57%, 50.6%, 0%, 69%)
CIE-LABlab(17.25, 11.02, -25.39)
CIE-LCHlch(17.25, 27.67, 293.47°)
OKLaboklab(29.08% 0.007 -0.0722)
OKLCHoklch(29.08% 0.073 275.6)
XYZxyz(2.7960, 2.3555, 7.7029)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22274F #4F4A22
analogous
#223E4F #22274F #34224F
triadic
#22274F #4F2227 #274F22
tetradic
#22274F #4F223E #4F4A22 #224F34
square
#22274F #4F223E #4F4A22 #224F34
split-complementary
#22274F #4F3422 #3E4F22
monochromatic
#090B15 #101224 #22274F #343C7A #4751A5

Accessibility & contrast

On white

14.27
#22274F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#22274F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22274F
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22274F#FFFFFF#000000##FFFFFF
##22274F1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162C50
Deuteranopia (green-blind)
#11294E
Tritanopia (blue-blind)
#0E3037
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #22274f;
/* rgb */ color: rgb(34, 39, 79);
/* oklch */ color: oklch(29.1% 0.073 275.6);
Tailwind
colors: {
  custom: {
    50: '#616080',
    500: '#22274f',
    950: '#000000',
  },
}
SCSS
$custom: #22274f;
$custom-light: #616080;
$custom-dark: #000000;
JSON
{
  "hex": "#22274f",
  "rgb": {
    "r": 34,
    "g": 39,
    "b": 79
  },
  "hsl": {
    "h": 233.333,
    "s": 39.823,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29084,
    "c": 0.07254,
    "h": 275.6
  },
  "luminance": 0.02356
}

Semantic roles & 50–950 ramp

primary
#22274F
secondary
#837D4A
accent
#C258D0
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05050A
muted
#79797C

Preview Lab

Preview with #22274F

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

Preview Lab → · Contrast checker → · Palette generator →

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