#062641#062641

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

Color values

HEX#062641
RGBrgb(6, 38, 65)
HSLhsl(207, 83%, 14%)
HSVhsv(207, 91%, 25%)
CMYKcmyk(90.8%, 41.5%, 0%, 74.5%)
CIE-LABlab(14.44, 0.13, -20.35)
CIE-LCHlch(14.44, 20.35, 270.36°)
OKLaboklab(26.19% -0.023 -0.058)
OKLCHoklch(26.19% 0.062 248.3)
XYZxyz(1.7220, 1.8064, 5.2579)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062641 #412106
analogous
#06413F #062641 #060841
triadic
#062641 #410626 #264106
tetradic
#062641 #3F0641 #412106 #084106
square
#062641 #3F0641 #412106 #084106
split-complementary
#062641 #410608 #413F06
monochromatic
#03101C #03101C #062641 #0B4779 #1068B1

Accessibility & contrast

On white

15.43
#062641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #062641
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062641#FFFFFF#000000##FFFFFF
##0626411.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #062641;
/* rgb */ color: rgb(6, 38, 65);
/* oklch */ color: oklch(26.2% 0.062 248.3);
Tailwind
colors: {
  custom: {
    50: '#515f76',
    500: '#062641',
    950: '#000000',
  },
}
SCSS
$custom: #062641;
$custom-light: #515f76;
$custom-dark: #000000;
JSON
{
  "hex": "#062641",
  "rgb": {
    "r": 6,
    "g": 38,
    "b": 65
  },
  "hsl": {
    "h": 207.458,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.2619,
    "c": 0.06243,
    "h": 248.3
  },
  "luminance": 0.01807
}

Semantic roles & 50–950 ramp

primary
#062641
secondary
#814D22
accent
#8B2EF9
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #062641

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

Preview Lab → · Contrast checker → · Palette generator →

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