#060C46#060C46

#060C46 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.4% C 0.106 H 268.4°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#060C46
RGBrgb(6, 12, 70)
HSLhsl(234, 84%, 15%)
HSVhsv(234, 91%, 27%)
CMYKcmyk(91.4%, 82.9%, 0%, 72.5%)
CIE-LABlab(6.72, 22.01, -36.37)
CIE-LCHlch(6.72, 42.52, 301.18°)
OKLaboklab(20.45% -0.003 -0.1058)
OKLCHoklch(20.45% 0.106 268.4)
XYZxyz(1.3117, 0.7437, 5.8676)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060C46 #464006
analogous
#062C46 #060C46 #200646
triadic
#060C46 #46060C #0C4606
tetradic
#060C46 #46062C #464006 #064620
square
#060C46 #46062C #464006 #064620
split-complementary
#060C46 #462006 #2C4606
monochromatic
#02051C #02051C #060C46 #0B167E #101FB7

Accessibility & contrast

On white

18.28
#060C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#060C46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060C46
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060C46#FFFFFF#000000##FFFFFF
##060C461.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001848
Deuteranopia (green-blind)
#001245
Tritanopia (blue-blind)
#001D28
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #060c46;
/* rgb */ color: rgb(6, 12, 70);
/* oklch */ color: oklch(20.4% 0.106 268.4);
Tailwind
colors: {
  custom: {
    50: '#544b7a',
    500: '#060c46',
    950: '#000000',
  },
}
SCSS
$custom: #060c46;
$custom-light: #544b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#060c46",
  "rgb": {
    "r": 6,
    "g": 12,
    "b": 70
  },
  "hsl": {
    "h": 234.375,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20446,
    "c": 0.10584,
    "h": 268.4
  },
  "luminance": 0.00744
}

Semantic roles & 50–950 ramp

primary
#060C46
secondary
#857C22
accent
#E72DFA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030109
muted
#78777B

Preview Lab

Preview with #060C46

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

Preview Lab → · Contrast checker → · Palette generator →

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