#052740#052740

#052740 is a dark, moderate cyan. Relative luminance 0.019; OKLCH L 26.4% C 0.060 H 245.3°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#052740
RGBrgb(5, 39, 64)
HSLhsl(205, 86%, 14%)
HSVhsv(205, 92%, 25%)
CMYKcmyk(92.2%, 39.1%, 0%, 74.9%)
CIE-LABlab(14.70, -1.22, -19.25)
CIE-LCHlch(14.70, 19.29, 266.37°)
OKLaboklab(26.36% -0.0252 -0.0548)
OKLCHoklch(26.36% 0.06 245.3)
XYZxyz(1.7132, 1.8533, 5.1169)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052740 #401E05
analogous
#05403B #052740 #050940
triadic
#052740 #400527 #274005
tetradic
#052740 #3B0540 #401E05 #094005
square
#052740 #3B0540 #401E05 #094005
split-complementary
#052740 #400509 #403B05
monochromatic
#02111C #02111C #052740 #094A79 #0E6CB2

Accessibility & contrast

On white

15.32
#052740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#052740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052740
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052740#FFFFFF#000000##FFFFFF
##0527401.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2841
Deuteranopia (green-blind)
#132340
Tritanopia (blue-blind)
#002D30
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #052740;
/* rgb */ color: rgb(5, 39, 64);
/* oklch */ color: oklch(26.4% 0.060 245.3);
Tailwind
colors: {
  custom: {
    50: '#506075',
    500: '#052740',
    950: '#000000',
  },
}
SCSS
$custom: #052740;
$custom-light: #506075;
$custom-dark: #000000;
JSON
{
  "hex": "#052740",
  "rgb": {
    "r": 5,
    "g": 39,
    "b": 64
  },
  "hsl": {
    "h": 205.424,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.26364,
    "c": 0.06029,
    "h": 245.3
  },
  "luminance": 0.01853
}

Semantic roles & 50–950 ramp

primary
#052740
secondary
#814920
accent
#842CFC
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020508
muted
#78797B

Preview Lab

Preview with #052740

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

Preview Lab → · Contrast checker → · Palette generator →

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