#062E3F#062E3F

#062E3F is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.4% C 0.052 H 231.6°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#062E3F
RGBrgb(6, 46, 63)
HSLhsl(198, 83%, 14%)
HSVhsv(198, 90%, 25%)
CMYKcmyk(90.5%, 27%, 0%, 75.3%)
CIE-LABlab(17.23, -6.39, -14.57)
CIE-LCHlch(17.23, 15.91, 246.32°)
OKLaboklab(28.37% -0.0326 -0.0411)
OKLCHoklch(28.37% 0.052 231.6)
XYZxyz(1.9489, 2.3513, 5.0528)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062E3F #3F1706
analogous
#063F33 #062E3F #06113F
triadic
#062E3F #3F062E #2E3F06
tetradic
#062E3F #33063F #3F1706 #113F06
square
#062E3F #33063F #3F1706 #113F06
split-complementary
#062E3F #3F0611 #3F3306
monochromatic
#03141C #03141C #062E3F #0B5777 #1180AF

Accessibility & contrast

On white

14.28
#062E3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#062E3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062E3F
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062E3F#FFFFFF#000000##FFFFFF
##062E3F1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252D40
Deuteranopia (green-blind)
#1E283F
Tritanopia (blue-blind)
#003334
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #062e3f;
/* rgb */ color: rgb(6, 46, 63);
/* oklch */ color: oklch(28.4% 0.052 231.6);
Tailwind
colors: {
  custom: {
    50: '#516674',
    500: '#062e3f',
    950: '#000000',
  },
}
SCSS
$custom: #062e3f;
$custom-light: #516674;
$custom-dark: #000000;
JSON
{
  "hex": "#062e3f",
  "rgb": {
    "r": 6,
    "g": 46,
    "b": 63
  },
  "hsl": {
    "h": 197.895,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.28367,
    "c": 0.05243,
    "h": 231.6
  },
  "luminance": 0.02352
}

Semantic roles & 50–950 ramp

primary
#062E3F
secondary
#7F3E22
accent
#6B2FF9
background
#F4F6F7
surface
#E7EBED
border
#C3C6C8
text
#020608
muted
#787A7B

Preview Lab

Preview with #062E3F

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

Preview Lab → · Contrast checker → · Palette generator →

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