#062A39#062A39

#062A39 is a dark, muted cyan. Relative luminance 0.020; OKLCH L 26.8% C 0.048 H 230.5°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#062A39
RGBrgb(6, 42, 57)
HSLhsl(198, 81%, 12%)
HSVhsv(198, 89%, 22%)
CMYKcmyk(89.5%, 26.3%, 0%, 77.6%)
CIE-LABlab(15.43, -6.26, -13.21)
CIE-LCHlch(15.43, 14.61, 244.65°)
OKLaboklab(26.83% -0.0306 -0.0372)
OKLCHoklch(26.83% 0.048 230.5)
XYZxyz(1.6413, 1.9899, 4.1677)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062A39 #391506
analogous
#06392F #062A39 #061139
triadic
#062A39 #39062A #2A3906
tetradic
#062A39 #2F0639 #391506 #113906
square
#062A39 #2F0639 #391506 #113906
split-complementary
#062A39 #390611 #392F06
monochromatic
#03141C #03141C #062A39 #0C5370 #127CA8

Accessibility & contrast

On white

15.02
#062A39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#062A39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062A39
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062A39#FFFFFF#000000##FFFFFF
##062A391.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22293A
Deuteranopia (green-blind)
#1B2439
Tritanopia (blue-blind)
#002E2F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #062a39;
/* rgb */ color: rgb(6, 42, 57);
/* oklch */ color: oklch(26.8% 0.048 230.5);
Tailwind
colors: {
  custom: {
    50: '#4f636f',
    500: '#062a39',
    950: '#000000',
  },
}
SCSS
$custom: #062a39;
$custom-light: #4f636f;
$custom-dark: #000000;
JSON
{
  "hex": "#062a39",
  "rgb": {
    "r": 6,
    "g": 42,
    "b": 57
  },
  "hsl": {
    "h": 197.647,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.26826,
    "c": 0.04814,
    "h": 230.5
  },
  "luminance": 0.0199
}

Semantic roles & 50–950 ramp

primary
#062A39
secondary
#793B22
accent
#6B30F7
background
#F4F5F6
surface
#E7EAEC
border
#C3C6C7
text
#020507
muted
#78797A

Preview Lab

Preview with #062A39

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

Preview Lab → · Contrast checker → · Palette generator →

#062A39 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva