#060656#060656

#060656 is a very dark, vivid blue. Relative luminance 0.008; OKLCH L 21.7% C 0.133 H 267.9°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#060656
RGBrgb(6, 6, 86)
HSLhsl(240, 87%, 18%)
HSVhsv(240, 93%, 34%)
CMYKcmyk(93%, 93%, 0%, 66.3%)
CIE-LABlab(7.59, 32.06, -46.02)
CIE-LCHlch(7.59, 56.08, 304.86°)
OKLaboklab(21.75% -0.0049 -0.1332)
OKLCHoklch(21.75% 0.133 267.9)
XYZxyz(1.8194, 0.8406, 8.8687)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060656 #565606
analogous
#062E56 #060656 #2E0656
triadic
#060656 #560606 #065606
tetradic
#060656 #56062E #565606 #06562E
square
#060656 #56062E #565606 #06562E
split-complementary
#060656 #562E06 #2E5606
monochromatic
#02021D #02021D #060656 #0A0A8F #0E0EC8

Accessibility & contrast

On white

17.98
#060656 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#060656 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060656
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060656#FFFFFF#000000##FFFFFF
##0606561.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B58
Deuteranopia (green-blind)
#001255
Tritanopia (blue-blind)
#002130
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #060656;
/* rgb */ color: rgb(6, 6, 86);
/* oklch */ color: oklch(21.7% 0.133 267.9);
Tailwind
colors: {
  custom: {
    50: '#5b4987',
    500: '#060656',
    950: '#000000',
  },
}
SCSS
$custom: #060656;
$custom-light: #5b4987;
$custom-dark: #000000;
JSON
{
  "hex": "#060656",
  "rgb": {
    "r": 6,
    "g": 6,
    "b": 86
  },
  "hsl": {
    "h": 240,
    "s": 86.957,
    "l": 18.039
  },
  "oklch": {
    "l": 0.21747,
    "c": 0.1333,
    "h": 267.9
  },
  "luminance": 0.00841
}

Semantic roles & 50–950 ramp

primary
#060656
secondary
#949424
accent
#FD2BFD
background
#F5F4F8
surface
#E9E7F0
border
#C5C3CB
text
#05010B
muted
#79777C

Preview Lab

Preview with #060656

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

Preview Lab → · Contrast checker → · Palette generator →

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