#052640#052640

#052640 is a dark, moderate cyan. Relative luminance 0.018; OKLCH L 26.1% C 0.061 H 246.9°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#052640
RGBrgb(5, 38, 64)
HSLhsl(206, 86%, 14%)
HSVhsv(206, 92%, 25%)
CMYKcmyk(92.2%, 40.6%, 0%, 74.9%)
CIE-LABlab(14.34, -0.49, -19.82)
CIE-LCHlch(14.34, 19.83, 268.59°)
OKLaboklab(26.08% -0.0241 -0.0565)
OKLCHoklch(26.08% 0.061 246.9)
XYZxyz(1.6808, 1.7884, 5.1061)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052640 #401F05
analogous
#05403C #052640 #050840
triadic
#052640 #400526 #264005
tetradic
#052640 #3C0540 #401F05 #084005
square
#052640 #3C0540 #401F05 #084005
split-complementary
#052640 #400508 #403C05
monochromatic
#02111C #02111C #052640 #094879 #0E69B2

Accessibility & contrast

On white

15.47
#052640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#052640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052640
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052640#FFFFFF#000000##FFFFFF
##0526401.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2741
Deuteranopia (green-blind)
#112240
Tritanopia (blue-blind)
#002C30
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #052640;
/* rgb */ color: rgb(5, 38, 64);
/* oklch */ color: oklch(26.1% 0.061 246.9);
Tailwind
colors: {
  custom: {
    50: '#505f75',
    500: '#052640',
    950: '#000000',
  },
}
SCSS
$custom: #052640;
$custom-light: #505f75;
$custom-dark: #000000;
JSON
{
  "hex": "#052640",
  "rgb": {
    "r": 5,
    "g": 38,
    "b": 64
  },
  "hsl": {
    "h": 206.441,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.26079,
    "c": 0.06141,
    "h": 246.9
  },
  "luminance": 0.01789
}

Semantic roles & 50–950 ramp

primary
#052640
secondary
#814B20
accent
#882CFC
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #052640

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

Preview Lab → · Contrast checker → · Palette generator →

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