#052138#052138

#052138 is a very dark, muted cyan. Relative luminance 0.014; OKLCH L 24.1% C 0.055 H 247.1°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#052138
RGBrgb(5, 33, 56)
HSLhsl(207, 84%, 12%)
HSVhsv(207, 91%, 22%)
CMYKcmyk(91.1%, 41.1%, 0%, 78%)
CIE-LABlab(11.99, -0.47, -17.90)
CIE-LCHlch(11.99, 17.91, 268.48°)
OKLaboklab(24.07% -0.0215 -0.051)
OKLCHoklch(24.07% 0.055 247.1)
XYZxyz(1.3200, 1.4053, 3.9423)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052138 #381C05
analogous
#053836 #052138 #050738
triadic
#052138 #380521 #213805
tetradic
#052138 #360538 #381C05 #073805
square
#052138 #360538 #381C05 #073805
split-complementary
#052138 #380507 #383605
monochromatic
#03111C #03111C #052138 #0A4270 #0F63A8

Accessibility & contrast

On white

16.39
#052138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#052138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052138
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052138#FFFFFF#000000##FFFFFF
##0521381.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162239
Deuteranopia (green-blind)
#0F1D38
Tritanopia (blue-blind)
#002729
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #052138;
/* rgb */ color: rgb(5, 33, 56);
/* oklch */ color: oklch(24.1% 0.055 247.1);
Tailwind
colors: {
  custom: {
    50: '#4e5b6e',
    500: '#052138',
    950: '#000000',
  },
}
SCSS
$custom: #052138;
$custom-light: #4e5b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#052138",
  "rgb": {
    "r": 5,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 207.059,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.24067,
    "c": 0.0553,
    "h": 247.1
  },
  "luminance": 0.01406
}

Semantic roles & 50–950 ramp

primary
#052138
secondary
#794820
accent
#8A2EFA
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #052138

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

Preview Lab → · Contrast checker → · Palette generator →

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