#062E40#062E40

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

Color values

HEX#062E40
RGBrgb(6, 46, 64)
HSLhsl(199, 83%, 14%)
HSVhsv(199, 91%, 25%)
CMYKcmyk(90.6%, 28.1%, 0%, 74.9%)
CIE-LABlab(17.29, -5.96, -15.18)
CIE-LCHlch(17.29, 16.31, 248.56°)
OKLaboklab(28.43% -0.0322 -0.0428)
OKLCHoklch(28.43% 0.054 233.1)
XYZxyz(1.9771, 2.3626, 5.2013)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062E40 #401806
analogous
#064035 #062E40 #061140
triadic
#062E40 #40062E #2E4006
tetradic
#062E40 #350640 #401806 #114006
square
#062E40 #350640 #401806 #114006
split-complementary
#062E40 #400611 #403506
monochromatic
#03141C #03141C #062E40 #0B5678 #107EB0

Accessibility & contrast

On white

14.26
#062E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #062E40
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062E40#FFFFFF#000000##FFFFFF
##062E401.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #062e40;
/* rgb */ color: rgb(6, 46, 64);
/* oklch */ color: oklch(28.4% 0.054 233.1);
Tailwind
colors: {
  custom: {
    50: '#516675',
    500: '#062e40',
    950: '#000000',
  },
}
SCSS
$custom: #062e40;
$custom-light: #516675;
$custom-dark: #000000;
JSON
{
  "hex": "#062e40",
  "rgb": {
    "r": 6,
    "g": 46,
    "b": 64
  },
  "hsl": {
    "h": 198.621,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.28427,
    "c": 0.05356,
    "h": 233.1
  },
  "luminance": 0.02363
}

Semantic roles & 50–950 ramp

primary
#062E40
secondary
#803F22
accent
#6D2FF9
background
#F4F6F7
surface
#E7EBED
border
#C3C6C8
text
#020608
muted
#787A7B

Preview Lab

Preview with #062E40

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

Preview Lab → · Contrast checker → · Palette generator →

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