#052641#052641

#052641 is a dark, moderate cyan. Relative luminance 0.018; OKLCH L 26.2% C 0.063 H 247.8°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#052641
RGBrgb(5, 38, 65)
HSLhsl(207, 86%, 14%)
HSVhsv(207, 92%, 25%)
CMYKcmyk(92.3%, 41.5%, 0%, 74.5%)
CIE-LABlab(14.40, -0.03, -20.41)
CIE-LCHlch(14.40, 20.41, 269.91°)
OKLaboklab(26.15% -0.0238 -0.0582)
OKLCHoklch(26.15% 0.063 247.8)
XYZxyz(1.7095, 1.7999, 5.2573)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052641 #412005
analogous
#05413E #052641 #050841
triadic
#052641 #410526 #264105
tetradic
#052641 #3E0541 #412005 #084105
square
#052641 #3E0541 #412005 #084105
split-complementary
#052641 #410508 #413E05
monochromatic
#02111C #02111C #052641 #09477A #0E68B3

Accessibility & contrast

On white

15.44
#052641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052641
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052641#FFFFFF#000000##FFFFFF
##0526411.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192742
Deuteranopia (green-blind)
#102240
Tritanopia (blue-blind)
#002D30
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #052641;
/* rgb */ color: rgb(5, 38, 65);
/* oklch */ color: oklch(26.2% 0.063 247.8);
Tailwind
colors: {
  custom: {
    50: '#515f76',
    500: '#052641',
    950: '#000000',
  },
}
SCSS
$custom: #052641;
$custom-light: #515f76;
$custom-dark: #000000;
JSON
{
  "hex": "#052641",
  "rgb": {
    "r": 5,
    "g": 38,
    "b": 65
  },
  "hsl": {
    "h": 207,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.26151,
    "c": 0.06288,
    "h": 247.8
  },
  "luminance": 0.018
}

Semantic roles & 50–950 ramp

primary
#052641
secondary
#814C20
accent
#892CFC
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #052641

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

Preview Lab → · Contrast checker → · Palette generator →

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