#062F42#062F42

#062F42 is a dark, muted cyan. Relative luminance 0.025; OKLCH L 28.8% C 0.055 H 234.0°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#062F42
RGBrgb(6, 47, 66)
HSLhsl(199, 83%, 14%)
HSVhsv(199, 91%, 26%)
CMYKcmyk(90.9%, 28.8%, 0%, 74.1%)
CIE-LABlab(17.76, -5.78, -15.81)
CIE-LCHlch(17.76, 16.84, 249.93°)
OKLaboklab(28.84% -0.0325 -0.0446)
OKLCHoklch(28.84% 0.055 234)
XYZxyz(2.0746, 2.4648, 5.5196)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062F42 #421906
analogous
#064237 #062F42 #061142
triadic
#062F42 #42062F #2F4206
tetradic
#062F42 #370642 #421906 #114206
square
#062F42 #370642 #421906 #114206
split-complementary
#062F42 #420611 #423706
monochromatic
#03141C #03141C #062F42 #0B577A #107FB2

Accessibility & contrast

On white

14.07
#062F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#062F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062F42
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062F42#FFFFFF#000000##FFFFFF
##062F421.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262F43
Deuteranopia (green-blind)
#1E2942
Tritanopia (blue-blind)
#003435
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #062f42;
/* rgb */ color: rgb(6, 47, 66);
/* oklch */ color: oklch(28.8% 0.055 234.0);
Tailwind
colors: {
  custom: {
    50: '#526776',
    500: '#062f42',
    950: '#000000',
  },
}
SCSS
$custom: #062f42;
$custom-light: #526776;
$custom-dark: #000000;
JSON
{
  "hex": "#062f42",
  "rgb": {
    "r": 6,
    "g": 47,
    "b": 66
  },
  "hsl": {
    "h": 199,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.28839,
    "c": 0.05519,
    "h": 234
  },
  "luminance": 0.02465
}

Semantic roles & 50–950 ramp

primary
#062F42
secondary
#824022
accent
#6F2EFA
background
#F4F6F7
surface
#E7EBED
border
#C3C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #062F42

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

Preview Lab → · Contrast checker → · Palette generator →

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