#062046#062046

#062046 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 25.0% C 0.078 H 258.2°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#062046
RGBrgb(6, 32, 70)
HSLhsl(216, 84%, 15%)
HSVhsv(216, 91%, 27%)
CMYKcmyk(91.4%, 54.3%, 0%, 72.5%)
CIE-LABlab(12.69, 6.99, -26.62)
CIE-LCHlch(12.69, 27.52, 284.71°)
OKLaboklab(24.95% -0.0159 -0.0766)
OKLCHoklch(24.95% 0.078 258.2)
XYZxyz(1.6967, 1.5137, 5.9959)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062046 #462C06
analogous
#064046 #062046 #0C0646
triadic
#062046 #460620 #204606
tetradic
#062046 #460640 #462C06 #06460C
square
#062046 #460640 #462C06 #06460C
split-complementary
#062046 #460C06 #404606
monochromatic
#020D1C #020D1C #062046 #0B3A7E #1054B7

Accessibility & contrast

On white

16.12
#062046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#062046 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062046
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062046#FFFFFF#000000##FFFFFF
##0620461.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2447
Deuteranopia (green-blind)
#001E45
Tritanopia (blue-blind)
#00292F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #062046;
/* rgb */ color: rgb(6, 32, 70);
/* oklch */ color: oklch(25.0% 0.078 258.2);
Tailwind
colors: {
  custom: {
    50: '#535a7a',
    500: '#062046',
    950: '#000000',
  },
}
SCSS
$custom: #062046;
$custom-light: #535a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#062046",
  "rgb": {
    "r": 6,
    "g": 32,
    "b": 70
  },
  "hsl": {
    "h": 215.625,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24952,
    "c": 0.07821,
    "h": 258.2
  },
  "luminance": 0.01514
}

Semantic roles & 50–950 ramp

primary
#062046
secondary
#855D22
accent
#A72DFA
background
#F5F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #062046

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

Preview Lab → · Contrast checker → · Palette generator →

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