#052837#052837

#052837 is a dark, muted cyan. Relative luminance 0.018; OKLCH L 26.1% C 0.048 H 231.2°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#052837
RGBrgb(5, 40, 55)
HSLhsl(198, 83%, 12%)
HSVhsv(198, 91%, 22%)
CMYKcmyk(90.9%, 27.3%, 0%, 78.4%)
CIE-LABlab(14.54, -5.94, -13.19)
CIE-LCHlch(14.54, 14.46, 245.76°)
OKLaboklab(26.07% -0.0299 -0.0371)
OKLCHoklch(26.07% 0.048 231.2)
XYZxyz(1.5107, 1.8255, 3.8864)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052837 #371405
analogous
#05372D #052837 #050F37
triadic
#052837 #370528 #283705
tetradic
#052837 #2D0537 #371405 #0F3705
square
#052837 #2D0537 #371405 #0F3705
split-complementary
#052837 #37050F #372D05
monochromatic
#03141C #03141C #052837 #0A516F #0F7AA7

Accessibility & contrast

On white

15.38
#052837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#052837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052837
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052837#FFFFFF#000000##FFFFFF
##0528371.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202738
Deuteranopia (green-blind)
#1A2337
Tritanopia (blue-blind)
#002C2D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #052837;
/* rgb */ color: rgb(5, 40, 55);
/* oklch */ color: oklch(26.1% 0.048 231.2);
Tailwind
colors: {
  custom: {
    50: '#4e616d',
    500: '#052837',
    950: '#000000',
  },
}
SCSS
$custom: #052837;
$custom-light: #4e616d;
$custom-dark: #000000;
JSON
{
  "hex": "#052837",
  "rgb": {
    "r": 5,
    "g": 40,
    "b": 55
  },
  "hsl": {
    "h": 198,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2607,
    "c": 0.04766,
    "h": 231.2
  },
  "luminance": 0.01826
}

Semantic roles & 50–950 ramp

primary
#052837
secondary
#783A20
accent
#6B2EFA
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020507
muted
#78797A

Preview Lab

Preview with #052837

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

Preview Lab → · Contrast checker → · Palette generator →

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