#052538#052538

#052538 is a dark, muted cyan. Relative luminance 0.016; OKLCH L 25.2% C 0.051 H 239.5°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#052538
RGBrgb(5, 37, 56)
HSLhsl(202, 84%, 12%)
HSVhsv(202, 91%, 22%)
CMYKcmyk(91.1%, 33.9%, 0%, 78%)
CIE-LABlab(13.48, -3.40, -15.56)
CIE-LCHlch(13.48, 15.93, 257.69°)
OKLaboklab(25.24% -0.026 -0.0441)
OKLCHoklch(25.24% 0.051 239.5)
XYZxyz(1.4377, 1.6407, 3.9815)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052538 #381805
analogous
#053832 #052538 #050C38
triadic
#052538 #380525 #253805
tetradic
#052538 #320538 #381805 #0C3805
square
#052538 #320538 #381805 #0C3805
split-complementary
#052538 #38050C #383205
monochromatic
#03131C #03131C #052538 #0A4A70 #0F6FA8

Accessibility & contrast

On white

15.81
#052538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#052538 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052538
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052538#FFFFFF#000000##FFFFFF
##0525381.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2539
Deuteranopia (green-blind)
#152038
Tritanopia (blue-blind)
#002A2C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #052538;
/* rgb */ color: rgb(5, 37, 56);
/* oklch */ color: oklch(25.2% 0.051 239.5);
Tailwind
colors: {
  custom: {
    50: '#4e5f6e',
    500: '#052538',
    950: '#000000',
  },
}
SCSS
$custom: #052538;
$custom-light: #4e5f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#052538",
  "rgb": {
    "r": 5,
    "g": 37,
    "b": 56
  },
  "hsl": {
    "h": 202.353,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.25239,
    "c": 0.05114,
    "h": 239.5
  },
  "luminance": 0.01641
}

Semantic roles & 50–950 ramp

primary
#052538
secondary
#794120
accent
#7A2EFA
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #052538

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

Preview Lab → · Contrast checker → · Palette generator →

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