#060546#060546

#060546 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.3% C 0.114 H 269.5°. Best body text is #FFFFFF at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#060546
RGBrgb(6, 5, 70)
HSLhsl(241, 87%, 15%)
HSVhsv(241, 93%, 27%)
CMYKcmyk(91.4%, 92.9%, 0%, 72.5%)
CIE-LABlab(5.32, 25.62, -38.67)
CIE-LCHlch(5.32, 46.39, 303.53°)
OKLaboklab(19.26% -0.0009 -0.1138)
OKLCHoklch(19.26% 0.114 269.5)
XYZxyz(1.2345, 0.5893, 5.8418)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060546 #454605
analogous
#052546 #060546 #270546
triadic
#060546 #460605 #054606
tetradic
#060546 #460525 #454605 #054627
square
#060546 #460525 #454605 #054627
split-complementary
#060546 #462705 #254605
monochromatic
#02021D #02021D #060546 #0B097F #100DB8

Accessibility & contrast

On white

18.79
#060546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#060546 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060546
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060546#FFFFFF#000000##FFFFFF
##0605461.0018.791.1218.79
#FFFFFF18.791.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001548
Deuteranopia (green-blind)
#000E45
Tritanopia (blue-blind)
#001A26
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #060546;
/* rgb */ color: rgb(6, 5, 70);
/* oklch */ color: oklch(19.3% 0.114 269.5);
Tailwind
colors: {
  custom: {
    50: '#55477a',
    500: '#060546',
    950: '#000000',
  },
}
SCSS
$custom: #060546;
$custom-light: #55477a;
$custom-dark: #000000;
JSON
{
  "hex": "#060546",
  "rgb": {
    "r": 6,
    "g": 5,
    "b": 70
  },
  "hsl": {
    "h": 240.923,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.19261,
    "c": 0.11377,
    "h": 269.5
  },
  "luminance": 0.00589
}

Semantic roles & 50–950 ramp

primary
#060546
secondary
#848621
accent
#FD2BFA
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#030009
muted
#78777B

Preview Lab

Preview with #060546

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

Preview Lab → · Contrast checker → · Palette generator →

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