#052E40#052E40

#052E40 is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.4% C 0.054 H 232.7°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#052E40
RGBrgb(5, 46, 64)
HSLhsl(198, 86%, 14%)
HSVhsv(198, 92%, 25%)
CMYKcmyk(92.2%, 28.1%, 0%, 74.9%)
CIE-LABlab(17.26, -6.12, -15.23)
CIE-LCHlch(17.26, 16.41, 248.10°)
OKLaboklab(28.39% -0.0328 -0.043)
OKLCHoklch(28.39% 0.054 232.7)
XYZxyz(1.9646, 2.3562, 5.2007)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052E40 #401705
analogous
#054034 #052E40 #051040
triadic
#052E40 #40052E #2E4005
tetradic
#052E40 #340540 #401705 #104005
square
#052E40 #340540 #401705 #104005
split-complementary
#052E40 #400510 #403405
monochromatic
#02141C #02141C #052E40 #095779 #0E80B2

Accessibility & contrast

On white

14.27
#052E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#052E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052E40
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052E40#FFFFFF#000000##FFFFFF
##052E401.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252D41
Deuteranopia (green-blind)
#1D2840
Tritanopia (blue-blind)
#003334
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #052e40;
/* rgb */ color: rgb(5, 46, 64);
/* oklch */ color: oklch(28.4% 0.054 232.7);
Tailwind
colors: {
  custom: {
    50: '#516675',
    500: '#052e40',
    950: '#000000',
  },
}
SCSS
$custom: #052e40;
$custom-light: #516675;
$custom-dark: #000000;
JSON
{
  "hex": "#052e40",
  "rgb": {
    "r": 5,
    "g": 46,
    "b": 64
  },
  "hsl": {
    "h": 198.305,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.28394,
    "c": 0.05405,
    "h": 232.7
  },
  "luminance": 0.02356
}

Semantic roles & 50–950 ramp

primary
#052E40
secondary
#813E20
accent
#6B2CFC
background
#F4F6F7
surface
#E7EBED
border
#C3C6C8
text
#020608
muted
#787A7B

Preview Lab

Preview with #052E40

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

Preview Lab → · Contrast checker → · Palette generator →

#052E40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva