#062A41#062A41

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

Color values

HEX#062A41
RGBrgb(6, 42, 65)
HSLhsl(203, 83%, 14%)
HSVhsv(203, 91%, 25%)
CMYKcmyk(90.8%, 35.4%, 0%, 74.5%)
CIE-LABlab(15.88, -2.76, -18.07)
CIE-LCHlch(15.88, 18.28, 261.32°)
OKLaboklab(27.33% -0.0273 -0.0513)
OKLCHoklch(27.33% 0.058 241.9)
XYZxyz(1.8568, 2.0761, 5.3029)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062A41 #411D06
analogous
#06413B #062A41 #060D41
triadic
#062A41 #41062A #2A4106
tetradic
#062A41 #3B0641 #411D06 #0D4106
square
#062A41 #3B0641 #411D06 #0D4106
split-complementary
#062A41 #41060D #413B06
monochromatic
#03121C #03121C #062A41 #0B4E79 #1072B1

Accessibility & contrast

On white

14.84
#062A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#062A41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062A41
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062A41#FFFFFF#000000##FFFFFF
##062A411.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2B42
Deuteranopia (green-blind)
#172541
Tritanopia (blue-blind)
#003032
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #062a41;
/* rgb */ color: rgb(6, 42, 65);
/* oklch */ color: oklch(27.3% 0.058 241.9);
Tailwind
colors: {
  custom: {
    50: '#516375',
    500: '#062a41',
    950: '#000000',
  },
}
SCSS
$custom: #062a41;
$custom-light: #516375;
$custom-dark: #000000;
JSON
{
  "hex": "#062a41",
  "rgb": {
    "r": 6,
    "g": 42,
    "b": 65
  },
  "hsl": {
    "h": 203.39,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.27329,
    "c": 0.0581,
    "h": 241.9
  },
  "luminance": 0.02076
}

Semantic roles & 50–950 ramp

primary
#062A41
secondary
#814722
accent
#7E2EF9
background
#F4F5F7
surface
#E7EAED
border
#C3C6C8
text
#020508
muted
#78797B

Preview Lab

Preview with #062A41

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

Preview Lab → · Contrast checker → · Palette generator →

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