#060639#060639

#060639 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.6% C 0.095 H 271.2°. Best body text is #FFFFFF at 19.22:1 contrast (WCAG AA passes).

Color values

HEX#060639
RGBrgb(6, 6, 57)
HSLhsl(240, 81%, 12%)
HSVhsv(240, 89%, 22%)
CMYKcmyk(89.5%, 89.5%, 0%, 77.6%)
CIE-LABlab(4.19, 17.89, -31.19)
CIE-LCHlch(4.19, 35.95, 299.84°)
OKLaboklab(17.61% 0.002 -0.0945)
OKLCHoklch(17.61% 0.095 271.2)
XYZxyz(0.8785, 0.4643, 3.9134)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060639 #393906
analogous
#062039 #060639 #200639
triadic
#060639 #390606 #063906
tetradic
#060639 #390620 #393906 #063920
square
#060639 #390620 #393906 #063920
split-complementary
#060639 #392006 #203906
monochromatic
#03031C #03031C #060639 #0C0C70 #1212A8

Accessibility & contrast

On white

19.22
#060639 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#060639 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060639
19.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060639#FFFFFF#000000##FFFFFF
##0606391.0019.221.0919.22
#FFFFFF19.221.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00113A
Deuteranopia (green-blind)
#000C38
Tritanopia (blue-blind)
#00151F
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #060639;
/* rgb */ color: rgb(6, 6, 57);
/* oklch */ color: oklch(17.6% 0.095 271.2);
Tailwind
colors: {
  custom: {
    50: '#4f4870',
    500: '#060639',
    950: '#000000',
  },
}
SCSS
$custom: #060639;
$custom-light: #4f4870;
$custom-dark: #000000;
JSON
{
  "hex": "#060639",
  "rgb": {
    "r": 6,
    "g": 6,
    "b": 57
  },
  "hsl": {
    "h": 240,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.17609,
    "c": 0.09451,
    "h": 271.2
  },
  "luminance": 0.00464
}

Semantic roles & 50–950 ramp

primary
#060639
secondary
#797922
accent
#F730F7
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #060639

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

Preview Lab → · Contrast checker → · Palette generator →

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