#060846#060846

#060846 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.8% C 0.110 H 269.1°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#060846
RGBrgb(6, 8, 70)
HSLhsl(238, 84%, 15%)
HSVhsv(238, 91%, 27%)
CMYKcmyk(91.4%, 88.6%, 0%, 72.5%)
CIE-LABlab(5.91, 24.11, -37.70)
CIE-LCHlch(5.91, 44.75, 302.60°)
OKLaboklab(19.78% -0.0017 -0.1103)
OKLCHoklch(19.78% 0.11 269.1)
XYZxyz(1.2671, 0.6544, 5.8527)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060846 #464406
analogous
#062846 #060846 #240646
triadic
#060846 #460608 #084606
tetradic
#060846 #460628 #464406 #064624
square
#060846 #460628 #464406 #064624
split-complementary
#060846 #462406 #284606
monochromatic
#02031C #02031C #060846 #0B0E7E #1015B7

Accessibility & contrast

On white

18.57
#060846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060846
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060846#FFFFFF#000000##FFFFFF
##0608461.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001648
Deuteranopia (green-blind)
#001045
Tritanopia (blue-blind)
#001B27
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #060846;
/* rgb */ color: rgb(6, 8, 70);
/* oklch */ color: oklch(19.8% 0.110 269.1);
Tailwind
colors: {
  custom: {
    50: '#55497a',
    500: '#060846',
    950: '#000000',
  },
}
SCSS
$custom: #060846;
$custom-light: #55497a;
$custom-dark: #000000;
JSON
{
  "hex": "#060846",
  "rgb": {
    "r": 6,
    "g": 8,
    "b": 70
  },
  "hsl": {
    "h": 238.125,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.19778,
    "c": 0.11028,
    "h": 269.1
  },
  "luminance": 0.00655
}

Semantic roles & 50–950 ramp

primary
#060846
secondary
#858222
accent
#F42DFA
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#030109
muted
#78777B

Preview Lab

Preview with #060846

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

Preview Lab → · Contrast checker → · Palette generator →

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