#060D47#060D47

#060D47 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.8% C 0.106 H 268.1°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#060D47
RGBrgb(6, 13, 71)
HSLhsl(234, 84%, 15%)
HSVhsv(234, 92%, 28%)
CMYKcmyk(91.5%, 81.7%, 0%, 72.2%)
CIE-LABlab(7.06, 21.88, -36.52)
CIE-LCHlch(7.06, 42.57, 300.93°)
OKLaboklab(20.75% -0.0036 -0.106)
OKLCHoklch(20.75% 0.106 268.1)
XYZxyz(1.3560, 0.7813, 6.0394)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060D47 #474006
analogous
#062E47 #060D47 #1F0647
triadic
#060D47 #47060D #0D4706
tetradic
#060D47 #47062E #474006 #06471F
square
#060D47 #47062E #474006 #06471F
split-complementary
#060D47 #471F06 #2E4706
monochromatic
#02051C #02051C #060D47 #0B177F #1022B8

Accessibility & contrast

On white

18.16
#060D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#060D47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060D47
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060D47#FFFFFF#000000##FFFFFF
##060D471.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001949
Deuteranopia (green-blind)
#001246
Tritanopia (blue-blind)
#001E29
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #060d47;
/* rgb */ color: rgb(6, 13, 71);
/* oklch */ color: oklch(20.8% 0.106 268.1);
Tailwind
colors: {
  custom: {
    50: '#554c7b',
    500: '#060d47',
    950: '#000000',
  },
}
SCSS
$custom: #060d47;
$custom-light: #554c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#060d47",
  "rgb": {
    "r": 6,
    "g": 13,
    "b": 71
  },
  "hsl": {
    "h": 233.538,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.20752,
    "c": 0.1061,
    "h": 268.1
  },
  "luminance": 0.00781
}

Semantic roles & 50–950 ramp

primary
#060D47
secondary
#867C23
accent
#E52DFB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030109
muted
#78777B

Preview Lab

Preview with #060D47

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

Preview Lab → · Contrast checker → · Palette generator →

#060D47 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva