#062542#062542

#062542 is a dark, moderate cyan. Relative luminance 0.018; OKLCH L 26.0% C 0.065 H 250.5°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#062542
RGBrgb(6, 37, 66)
HSLhsl(209, 83%, 14%)
HSVhsv(209, 91%, 26%)
CMYKcmyk(90.9%, 43.9%, 0%, 74.1%)
CIE-LABlab(14.15, 1.33, -21.51)
CIE-LCHlch(14.15, 21.55, 273.53°)
OKLaboklab(25.98% -0.0217 -0.0614)
OKLCHoklch(25.98% 0.065 250.5)
XYZxyz(1.7197, 1.7550, 5.4013)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062542 #422306
analogous
#064241 #062542 #060742
triadic
#062542 #420625 #254206
tetradic
#062542 #410642 #422306 #074206
square
#062542 #410642 #422306 #074206
split-complementary
#062542 #420607 #424106
monochromatic
#03101C #03101C #062542 #0B447A #1064B2

Accessibility & contrast

On white

15.54
#062542 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#062542 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062542
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062542#FFFFFF#000000##FFFFFF
##0625421.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172743
Deuteranopia (green-blind)
#0D2141
Tritanopia (blue-blind)
#002C30
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #062542;
/* rgb */ color: rgb(6, 37, 66);
/* oklch */ color: oklch(26.0% 0.065 250.5);
Tailwind
colors: {
  custom: {
    50: '#515f76',
    500: '#062542',
    950: '#000000',
  },
}
SCSS
$custom: #062542;
$custom-light: #515f76;
$custom-dark: #000000;
JSON
{
  "hex": "#062542",
  "rgb": {
    "r": 6,
    "g": 37,
    "b": 66
  },
  "hsl": {
    "h": 209,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25983,
    "c": 0.06516,
    "h": 250.5
  },
  "luminance": 0.01755
}

Semantic roles & 50–950 ramp

primary
#062542
secondary
#825022
accent
#912EFA
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #062542

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

Preview Lab → · Contrast checker → · Palette generator →

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