#052940#052940

#052940 is a dark, muted cyan. Relative luminance 0.020; OKLCH L 26.9% C 0.058 H 242.0°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#052940
RGBrgb(5, 41, 64)
HSLhsl(203, 86%, 14%)
HSVhsv(203, 92%, 25%)
CMYKcmyk(92.2%, 35.9%, 0%, 74.9%)
CIE-LABlab(15.42, -2.66, -18.10)
CIE-LCHlch(15.42, 18.29, 261.65°)
OKLaboklab(26.94% -0.0273 -0.0514)
OKLCHoklch(26.94% 0.058 242)
XYZxyz(1.7806, 1.9881, 5.1394)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052940 #401C05
analogous
#054039 #052940 #050B40
triadic
#052940 #400529 #294005
tetradic
#052940 #390540 #401C05 #0B4005
square
#052940 #390540 #401C05 #0B4005
split-complementary
#052940 #40050B #403905
monochromatic
#02121C #02121C #052940 #094D79 #0E72B2

Accessibility & contrast

On white

15.03
#052940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#052940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052940
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052940#FFFFFF#000000##FFFFFF
##0529401.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2A41
Deuteranopia (green-blind)
#162440
Tritanopia (blue-blind)
#002F31
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #052940;
/* rgb */ color: rgb(5, 41, 64);
/* oklch */ color: oklch(26.9% 0.058 242.0);
Tailwind
colors: {
  custom: {
    50: '#506275',
    500: '#052940',
    950: '#000000',
  },
}
SCSS
$custom: #052940;
$custom-light: #506275;
$custom-dark: #000000;
JSON
{
  "hex": "#052940",
  "rgb": {
    "r": 5,
    "g": 41,
    "b": 64
  },
  "hsl": {
    "h": 203.39,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.26938,
    "c": 0.05819,
    "h": 242
  },
  "luminance": 0.01988
}

Semantic roles & 50–950 ramp

primary
#052940
secondary
#814620
accent
#7D2CFC
background
#F4F5F7
surface
#E7EAED
border
#C3C6C8
text
#020508
muted
#78797B

Preview Lab

Preview with #052940

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

Preview Lab → · Contrast checker → · Palette generator →

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