#052227#052227

#052227 is a very dark, muted teal. Relative luminance 0.013; OKLCH L 23.3% C 0.035 H 211.0°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#052227
RGBrgb(5, 34, 39)
HSLhsl(189, 77%, 9%)
HSVhsv(189, 87%, 15%)
CMYKcmyk(87.2%, 12.8%, 0%, 84.7%)
CIE-LABlab(11.43, -8.66, -6.52)
CIE-LCHlch(11.43, 10.84, 216.97°)
OKLaboklab(23.31% -0.0302 -0.0181)
OKLCHoklch(23.31% 0.035 211)
XYZxyz(1.0007, 1.3227, 2.1216)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052227 #270A05
analogous
#05271B #052227 #051127
triadic
#052227 #270522 #222705
tetradic
#052227 #1B0527 #270A05 #112705
square
#052227 #1B0527 #270A05 #112705
split-complementary
#052227 #270511 #271B05
monochromatic
#03181B #03181B #052227 #0C515D #138193

Accessibility & contrast

On white

16.61
#052227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#052227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052227
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052227#FFFFFF#000000##FFFFFF
##0522271.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2027
Deuteranopia (green-blind)
#191D27
Tritanopia (blue-blind)
#002424
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #052227;
/* rgb */ color: rgb(5, 34, 39);
/* oklch */ color: oklch(23.3% 0.035 211.0);
Tailwind
colors: {
  custom: {
    50: '#4a5d61',
    500: '#052227',
    950: '#000000',
  },
}
SCSS
$custom: #052227;
$custom-light: #4a5d61;
$custom-dark: #000000;
JSON
{
  "hex": "#052227",
  "rgb": {
    "r": 5,
    "g": 34,
    "b": 39
  },
  "hsl": {
    "h": 188.824,
    "s": 77.273,
    "l": 8.627
  },
  "oklch": {
    "l": 0.23311,
    "c": 0.03525,
    "h": 211
  },
  "luminance": 0.01323
}

Semantic roles & 50–950 ramp

primary
#052227
secondary
#692A1F
accent
#5034F4
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010405
muted
#777979

Preview Lab

Preview with #052227

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

Preview Lab → · Contrast checker → · Palette generator →

#052227 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva