#062A40#062A40

#062A40 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.3% C 0.057 H 240.8°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#062A40
RGBrgb(6, 42, 64)
HSLhsl(203, 83%, 14%)
HSVhsv(203, 91%, 25%)
CMYKcmyk(90.6%, 34.4%, 0%, 74.9%)
CIE-LABlab(15.82, -3.20, -17.47)
CIE-LCHlch(15.82, 17.76, 259.61°)
OKLaboklab(27.26% -0.0277 -0.0495)
OKLCHoklch(27.26% 0.057 240.8)
XYZxyz(1.8281, 2.0646, 5.1516)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062A40 #401C06
analogous
#064039 #062A40 #060D40
triadic
#062A40 #40062A #2A4006
tetradic
#062A40 #390640 #401C06 #0D4006
square
#062A40 #390640 #401C06 #0D4006
split-complementary
#062A40 #40060D #403906
monochromatic
#03121C #03121C #062A40 #0B4F78 #1073B0

Accessibility & contrast

On white

14.86
#062A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#062A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062A40
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062A40#FFFFFF#000000##FFFFFF
##062A401.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202A41
Deuteranopia (green-blind)
#182540
Tritanopia (blue-blind)
#002F32
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #062a40;
/* rgb */ color: rgb(6, 42, 64);
/* oklch */ color: oklch(27.3% 0.057 240.8);
Tailwind
colors: {
  custom: {
    50: '#516375',
    500: '#062a40',
    950: '#000000',
  },
}
SCSS
$custom: #062a40;
$custom-light: #516375;
$custom-dark: #000000;
JSON
{
  "hex": "#062a40",
  "rgb": {
    "r": 6,
    "g": 42,
    "b": 64
  },
  "hsl": {
    "h": 202.759,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.27263,
    "c": 0.05675,
    "h": 240.8
  },
  "luminance": 0.02065
}

Semantic roles & 50–950 ramp

primary
#062A40
secondary
#804622
accent
#7B2FF9
background
#F4F5F7
surface
#E7EAED
border
#C3C6C8
text
#020508
muted
#78797B

Preview Lab

Preview with #062A40

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

Preview Lab → · Contrast checker → · Palette generator →

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