#062A46#062A46

#062A46 is a dark, moderate cyan. Relative luminance 0.021; OKLCH L 27.7% C 0.065 H 246.9°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#062A46
RGBrgb(6, 42, 70)
HSLhsl(206, 84%, 15%)
HSVhsv(206, 91%, 27%)
CMYKcmyk(91.4%, 40%, 0%, 72.5%)
CIE-LABlab(16.19, -0.52, -21.03)
CIE-LCHlch(16.19, 21.04, 268.59°)
OKLaboklab(27.67% -0.0256 -0.0599)
OKLCHoklch(27.67% 0.065 246.9)
XYZxyz(2.0081, 2.1366, 6.0997)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062A46 #462206
analogous
#064642 #062A46 #060A46
triadic
#062A46 #46062A #2A4606
tetradic
#062A46 #420646 #462206 #0A4606
square
#062A46 #420646 #462206 #0A4606
split-complementary
#062A46 #46060A #464206
monochromatic
#02111C #02111C #062A46 #0B4C7E #106EB7

Accessibility & contrast

On white

14.71
#062A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#062A46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062A46
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062A46#FFFFFF#000000##FFFFFF
##062A461.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2B47
Deuteranopia (green-blind)
#132645
Tritanopia (blue-blind)
#003134
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #062a46;
/* rgb */ color: rgb(6, 42, 70);
/* oklch */ color: oklch(27.7% 0.065 246.9);
Tailwind
colors: {
  custom: {
    50: '#526379',
    500: '#062a46',
    950: '#000000',
  },
}
SCSS
$custom: #062a46;
$custom-light: #526379;
$custom-dark: #000000;
JSON
{
  "hex": "#062a46",
  "rgb": {
    "r": 6,
    "g": 42,
    "b": 70
  },
  "hsl": {
    "h": 206.25,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.27672,
    "c": 0.06515,
    "h": 246.9
  },
  "luminance": 0.02137
}

Semantic roles & 50–950 ramp

primary
#062A46
secondary
#854E22
accent
#872DFA
background
#F5F5F7
surface
#E8EAED
border
#C4C6C8
text
#030509
muted
#78797B

Preview Lab

Preview with #062A46

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

Preview Lab → · Contrast checker → · Palette generator →

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