#062047#062047

#062047 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.0% C 0.080 H 258.6°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#062047
RGBrgb(6, 32, 71)
HSLhsl(216, 84%, 15%)
HSVhsv(216, 92%, 28%)
CMYKcmyk(91.5%, 54.9%, 0%, 72.2%)
CIE-LABlab(12.78, 7.45, -27.18)
CIE-LCHlch(12.78, 28.18, 285.34°)
OKLaboklab(25.04% -0.0157 -0.0782)
OKLCHoklch(25.04% 0.08 258.6)
XYZxyz(1.7285, 1.5265, 6.1635)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062047 #472D06
analogous
#064047 #062047 #0C0647
triadic
#062047 #470620 #204706
tetradic
#062047 #470640 #472D06 #06470C
square
#062047 #470640 #472D06 #06470C
split-complementary
#062047 #470C06 #404706
monochromatic
#020D1C #020D1C #062047 #0B397F #1053B8

Accessibility & contrast

On white

16.09
#062047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#062047 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062047
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062047#FFFFFF#000000##FFFFFF
##0620471.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082448
Deuteranopia (green-blind)
#001E46
Tritanopia (blue-blind)
#002930
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #062047;
/* rgb */ color: rgb(6, 32, 71);
/* oklch */ color: oklch(25.0% 0.080 258.6);
Tailwind
colors: {
  custom: {
    50: '#535a7a',
    500: '#062047',
    950: '#000000',
  },
}
SCSS
$custom: #062047;
$custom-light: #535a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#062047",
  "rgb": {
    "r": 6,
    "g": 32,
    "b": 71
  },
  "hsl": {
    "h": 216,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25039,
    "c": 0.0798,
    "h": 258.6
  },
  "luminance": 0.01527
}

Semantic roles & 50–950 ramp

primary
#062047
secondary
#865E23
accent
#A82DFB
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #062047

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

Preview Lab → · Contrast checker → · Palette generator →

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