#052839#052839

#052839 is a dark, muted cyan. Relative luminance 0.018; OKLCH L 26.2% C 0.050 H 234.6°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#052839
RGBrgb(5, 40, 57)
HSLhsl(200, 84%, 12%)
HSVhsv(200, 91%, 22%)
CMYKcmyk(91.2%, 29.8%, 0%, 77.6%)
CIE-LABlab(14.65, -5.07, -14.43)
CIE-LCHlch(14.65, 15.29, 250.65°)
OKLaboklab(26.19% -0.029 -0.0407)
OKLCHoklch(26.19% 0.05 234.6)
XYZxyz(1.5596, 1.8451, 4.1440)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052839 #391605
analogous
#053930 #052839 #050E39
triadic
#052839 #390528 #283905
tetradic
#052839 #300539 #391605 #0E3905
square
#052839 #300539 #391605 #0E3905
split-complementary
#052839 #39050E #393005
monochromatic
#02141C #02141C #052839 #0A4F71 #0F77AA

Accessibility & contrast

On white

15.34
#052839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052839
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052839#FFFFFF#000000##FFFFFF
##0528391.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20283A
Deuteranopia (green-blind)
#192339
Tritanopia (blue-blind)
#002C2E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #052839;
/* rgb */ color: rgb(5, 40, 57);
/* oklch */ color: oklch(26.2% 0.050 234.6);
Tailwind
colors: {
  custom: {
    50: '#4f616f',
    500: '#052839',
    950: '#000000',
  },
}
SCSS
$custom: #052839;
$custom-light: #4f616f;
$custom-dark: #000000;
JSON
{
  "hex": "#052839",
  "rgb": {
    "r": 5,
    "g": 40,
    "b": 57
  },
  "hsl": {
    "h": 199.615,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.26193,
    "c": 0.04999,
    "h": 234.6
  },
  "luminance": 0.01845
}

Semantic roles & 50–950 ramp

primary
#052839
secondary
#7A3D20
accent
#702EFA
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020507
muted
#78797A

Preview Lab

Preview with #052839

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

Preview Lab → · Contrast checker → · Palette generator →

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