#052438#052438

#052438 is a very dark, muted cyan. Relative luminance 0.016; OKLCH L 24.9% C 0.052 H 241.5°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#052438
RGBrgb(5, 36, 56)
HSLhsl(204, 84%, 12%)
HSVhsv(204, 91%, 22%)
CMYKcmyk(91.1%, 35.7%, 0%, 78%)
CIE-LABlab(13.10, -2.68, -16.15)
CIE-LCHlch(13.10, 16.37, 260.58°)
OKLaboklab(24.94% -0.0248 -0.0458)
OKLCHoklch(24.94% 0.052 241.5)
XYZxyz(1.4070, 1.5794, 3.9713)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052438 #381905
analogous
#053833 #052438 #050B38
triadic
#052438 #380524 #243805
tetradic
#052438 #330538 #381905 #0B3805
square
#052438 #330538 #381905 #0B3805
split-complementary
#052438 #38050B #383305
monochromatic
#03121C #03121C #052438 #0A4870 #0F6CA8

Accessibility & contrast

On white

15.96
#052438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#052438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052438
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052438#FFFFFF#000000##FFFFFF
##0524381.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2439
Deuteranopia (green-blind)
#132038
Tritanopia (blue-blind)
#00292B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #052438;
/* rgb */ color: rgb(5, 36, 56);
/* oklch */ color: oklch(24.9% 0.052 241.5);
Tailwind
colors: {
  custom: {
    50: '#4e5e6e',
    500: '#052438',
    950: '#000000',
  },
}
SCSS
$custom: #052438;
$custom-light: #4e5e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#052438",
  "rgb": {
    "r": 5,
    "g": 36,
    "b": 56
  },
  "hsl": {
    "h": 203.529,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.24944,
    "c": 0.05208,
    "h": 241.5
  },
  "luminance": 0.0158
}

Semantic roles & 50–950 ramp

primary
#052438
secondary
#794320
accent
#7E2EFA
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #052438

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

Preview Lab → · Contrast checker → · Palette generator →

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