#062038#062038

#062038 is a very dark, muted cyan. Relative luminance 0.014; OKLCH L 23.8% C 0.056 H 249.6°. Best body text is #FFFFFF at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#062038
RGBrgb(6, 32, 56)
HSLhsl(209, 81%, 12%)
HSVhsv(209, 89%, 22%)
CMYKcmyk(89.3%, 42.9%, 0%, 78%)
CIE-LABlab(11.67, 0.47, -18.41)
CIE-LCHlch(11.67, 18.42, 271.46°)
OKLaboklab(23.83% -0.0195 -0.0525)
OKLCHoklch(23.83% 0.056 249.6)
XYZxyz(1.3052, 1.3571, 3.9338)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062038 #381E06
analogous
#063837 #062038 #060738
triadic
#062038 #380620 #203806
tetradic
#062038 #370638 #381E06 #073806
square
#062038 #370638 #381E06 #073806
split-complementary
#062038 #380607 #383706
monochromatic
#03101C #03101C #062038 #0C406F #125FA7

Accessibility & contrast

On white

16.52
#062038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#062038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062038
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062038#FFFFFF#000000##FFFFFF
##0620381.0016.521.2716.52
#FFFFFF16.521.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152139
Deuteranopia (green-blind)
#0D1D38
Tritanopia (blue-blind)
#002629
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #062038;
/* rgb */ color: rgb(6, 32, 56);
/* oklch */ color: oklch(23.8% 0.056 249.6);
Tailwind
colors: {
  custom: {
    50: '#4e5b6e',
    500: '#062038',
    950: '#000000',
  },
}
SCSS
$custom: #062038;
$custom-light: #4e5b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#062038",
  "rgb": {
    "r": 6,
    "g": 32,
    "b": 56
  },
  "hsl": {
    "h": 208.8,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23825,
    "c": 0.05597,
    "h": 249.6
  },
  "luminance": 0.01357
}

Semantic roles & 50–950 ramp

primary
#062038
secondary
#784B21
accent
#9031F7
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #062038

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

Preview Lab → · Contrast checker → · Palette generator →

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