#062647#062647

#062647 is a dark, moderate cyan. Relative luminance 0.019; OKLCH L 26.6% C 0.072 H 252.7°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#062647
RGBrgb(6, 38, 71)
HSLhsl(210, 84%, 15%)
HSVhsv(210, 92%, 28%)
CMYKcmyk(91.5%, 46.5%, 0%, 72.2%)
CIE-LABlab(14.84, 2.88, -23.86)
CIE-LCHlch(14.84, 24.03, 276.88°)
OKLaboklab(26.64% -0.0213 -0.0683)
OKLCHoklch(26.64% 0.072 252.7)
XYZxyz(1.9051, 1.8796, 6.2224)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062647 #472706
analogous
#064647 #062647 #070647
triadic
#062647 #470626 #264706
tetradic
#062647 #470646 #472706 #064707
square
#062647 #470646 #472706 #064707
split-complementary
#062647 #470706 #464706
monochromatic
#020F1C #020F1C #062647 #0B447F #1062B8

Accessibility & contrast

On white

15.26
#062647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#062647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062647
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062647#FFFFFF#000000##FFFFFF
##0626471.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162948
Deuteranopia (green-blind)
#0A2346
Tritanopia (blue-blind)
#002E33
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #062647;
/* rgb */ color: rgb(6, 38, 71);
/* oklch */ color: oklch(26.6% 0.072 252.7);
Tailwind
colors: {
  custom: {
    50: '#535f7a',
    500: '#062647',
    950: '#000000',
  },
}
SCSS
$custom: #062647;
$custom-light: #535f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#062647",
  "rgb": {
    "r": 6,
    "g": 38,
    "b": 71
  },
  "hsl": {
    "h": 210.462,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26639,
    "c": 0.07154,
    "h": 252.7
  },
  "luminance": 0.0188
}

Semantic roles & 50–950 ramp

primary
#062647
secondary
#865523
accent
#952DFB
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #062647

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

Preview Lab → · Contrast checker → · Palette generator →

#062647 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva