#062D42#062D42

#062D42 is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.3% C 0.057 H 237.8°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#062D42
RGBrgb(6, 45, 66)
HSLhsl(201, 83%, 14%)
HSVhsv(201, 91%, 26%)
CMYKcmyk(90.9%, 31.8%, 0%, 74.1%)
CIE-LABlab(17.03, -4.41, -16.95)
CIE-LCHlch(17.03, 17.52, 255.41°)
OKLaboklab(28.26% -0.0302 -0.048)
OKLCHoklch(28.26% 0.057 237.8)
XYZxyz(1.9965, 2.3086, 5.4936)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062D42 #421B06
analogous
#064239 #062D42 #060F42
triadic
#062D42 #42062D #2D4206
tetradic
#062D42 #390642 #421B06 #0F4206
square
#062D42 #390642 #421B06 #0F4206
split-complementary
#062D42 #42060F #423906
monochromatic
#03131C #03131C #062D42 #0B537A #107AB2

Accessibility & contrast

On white

14.37
#062D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#062D42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062D42
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062D42#FFFFFF#000000##FFFFFF
##062D421.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232D43
Deuteranopia (green-blind)
#1B2742
Tritanopia (blue-blind)
#003234
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #062d42;
/* rgb */ color: rgb(6, 45, 66);
/* oklch */ color: oklch(28.3% 0.057 237.8);
Tailwind
colors: {
  custom: {
    50: '#526576',
    500: '#062d42',
    950: '#000000',
  },
}
SCSS
$custom: #062d42;
$custom-light: #526576;
$custom-dark: #000000;
JSON
{
  "hex": "#062d42",
  "rgb": {
    "r": 6,
    "g": 45,
    "b": 66
  },
  "hsl": {
    "h": 201,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.28259,
    "c": 0.05671,
    "h": 237.8
  },
  "luminance": 0.02309
}

Semantic roles & 50–950 ramp

primary
#062D42
secondary
#824422
accent
#752EFA
background
#F4F6F7
surface
#E7EBED
border
#C3C6C8
text
#020508
muted
#787A7B

Preview Lab

Preview with #062D42

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

Preview Lab → · Contrast checker → · Palette generator →

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