#052838#052838

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

Color values

HEX#052838
RGBrgb(5, 40, 56)
HSLhsl(199, 84%, 12%)
HSVhsv(199, 91%, 22%)
CMYKcmyk(91.1%, 28.6%, 0%, 78%)
CIE-LABlab(14.60, -5.50, -13.81)
CIE-LCHlch(14.60, 14.87, 248.27°)
OKLaboklab(26.13% -0.0294 -0.0389)
OKLCHoklch(26.13% 0.049 232.9)
XYZxyz(1.5349, 1.8352, 4.0139)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052838 #381505
analogous
#05382F #052838 #050E38
triadic
#052838 #380528 #283805
tetradic
#052838 #2F0538 #381505 #0E3805
square
#052838 #2F0538 #381505 #0E3805
split-complementary
#052838 #38050E #382F05
monochromatic
#03141C #03141C #052838 #0A5070 #0F78A8

Accessibility & contrast

On white

15.36
#052838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052838
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052838#FFFFFF#000000##FFFFFF
##0528381.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202839
Deuteranopia (green-blind)
#192338
Tritanopia (blue-blind)
#002C2D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #052838;
/* rgb */ color: rgb(5, 40, 56);
/* oklch */ color: oklch(26.1% 0.049 232.9);
Tailwind
colors: {
  custom: {
    50: '#4e616e',
    500: '#052838',
    950: '#000000',
  },
}
SCSS
$custom: #052838;
$custom-light: #4e616e;
$custom-dark: #000000;
JSON
{
  "hex": "#052838",
  "rgb": {
    "r": 5,
    "g": 40,
    "b": 56
  },
  "hsl": {
    "h": 198.824,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.26131,
    "c": 0.0488,
    "h": 232.9
  },
  "luminance": 0.01835
}

Semantic roles & 50–950 ramp

primary
#052838
secondary
#793C20
accent
#6E2EFA
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020507
muted
#78797A

Preview Lab

Preview with #052838

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

Preview Lab → · Contrast checker → · Palette generator →

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