#052938#052938

#052938 is a dark, muted cyan. Relative luminance 0.019; OKLCH L 26.4% C 0.048 H 230.6°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#052938
RGBrgb(5, 41, 56)
HSLhsl(198, 84%, 12%)
HSVhsv(198, 91%, 22%)
CMYKcmyk(91.1%, 26.8%, 0%, 78%)
CIE-LABlab(14.97, -6.19, -13.23)
CIE-LCHlch(14.97, 14.60, 244.91°)
OKLaboklab(26.43% -0.0306 -0.0372)
OKLCHoklch(26.43% 0.048 230.6)
XYZxyz(1.5690, 1.9035, 4.0253)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052938 #381405
analogous
#05382E #052938 #051038
triadic
#052938 #380529 #293805
tetradic
#052938 #2E0538 #381405 #103805
square
#052938 #2E0538 #381405 #103805
split-complementary
#052938 #380510 #382E05
monochromatic
#03151C #03151C #052938 #0A5270 #0F7BA8

Accessibility & contrast

On white

15.21
#052938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#052938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052938
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052938#FFFFFF#000000##FFFFFF
##0529381.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212839
Deuteranopia (green-blind)
#1A2338
Tritanopia (blue-blind)
#002D2E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #052938;
/* rgb */ color: rgb(5, 41, 56);
/* oklch */ color: oklch(26.4% 0.048 230.6);
Tailwind
colors: {
  custom: {
    50: '#4e626e',
    500: '#052938',
    950: '#000000',
  },
}
SCSS
$custom: #052938;
$custom-light: #4e626e;
$custom-dark: #000000;
JSON
{
  "hex": "#052938",
  "rgb": {
    "r": 5,
    "g": 41,
    "b": 56
  },
  "hsl": {
    "h": 197.647,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.2643,
    "c": 0.04819,
    "h": 230.6
  },
  "luminance": 0.01904
}

Semantic roles & 50–950 ramp

primary
#052938
secondary
#793A20
accent
#6A2EFA
background
#F4F5F6
surface
#E7EAEC
border
#C3C6C7
text
#020507
muted
#78797A

Preview Lab

Preview with #052938

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

Preview Lab → · Contrast checker → · Palette generator →

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