#060847#060847

#060847 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.9% C 0.112 H 269.0°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#060847
RGBrgb(6, 8, 71)
HSLhsl(238, 84%, 15%)
HSVhsv(238, 92%, 28%)
CMYKcmyk(91.5%, 88.7%, 0%, 72.2%)
CIE-LABlab(6.03, 24.60, -38.22)
CIE-LCHlch(6.03, 45.45, 302.77°)
OKLaboklab(19.92% -0.002 -0.1116)
OKLCHoklch(19.92% 0.112 269)
XYZxyz(1.2989, 0.6672, 6.0203)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060847 #474506
analogous
#062847 #060847 #250647
triadic
#060847 #470608 #084706
tetradic
#060847 #470628 #474506 #064725
square
#060847 #470628 #474506 #064725
split-complementary
#060847 #472506 #284706
monochromatic
#02031C #02031C #060847 #0B0E7F #1015B8

Accessibility & contrast

On white

18.53
#060847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#060847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060847
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060847#FFFFFF#000000##FFFFFF
##0608471.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001749
Deuteranopia (green-blind)
#001046
Tritanopia (blue-blind)
#001C28
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #060847;
/* rgb */ color: rgb(6, 8, 71);
/* oklch */ color: oklch(19.9% 0.112 269.0);
Tailwind
colors: {
  custom: {
    50: '#55497b',
    500: '#060847',
    950: '#000000',
  },
}
SCSS
$custom: #060847;
$custom-light: #55497b;
$custom-dark: #000000;
JSON
{
  "hex": "#060847",
  "rgb": {
    "r": 6,
    "g": 8,
    "b": 71
  },
  "hsl": {
    "h": 238.154,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.19917,
    "c": 0.11166,
    "h": 269
  },
  "luminance": 0.00667
}

Semantic roles & 50–950 ramp

primary
#060847
secondary
#868323
accent
#F42DFB
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#030109
muted
#78777B

Preview Lab

Preview with #060847

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

Preview Lab → · Contrast checker → · Palette generator →

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