#060B42#060B42

#060B42 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.8% C 0.101 H 268.9°. Best body text is #FFFFFF at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#060B42
RGBrgb(6, 11, 66)
HSLhsl(235, 83%, 14%)
HSVhsv(235, 91%, 26%)
CMYKcmyk(90.9%, 83.3%, 0%, 74.1%)
CIE-LABlab(6.06, 20.60, -34.62)
CIE-LCHlch(6.06, 40.28, 300.76°)
OKLaboklab(19.75% -0.002 -0.1012)
OKLCHoklch(19.75% 0.101 268.9)
XYZxyz(1.1778, 0.6713, 5.2207)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060B42 #423D06
analogous
#062942 #060B42 #1F0642
triadic
#060B42 #42060B #0B4206
tetradic
#060B42 #420629 #423D06 #06421F
square
#060B42 #420629 #423D06 #06421F
split-complementary
#060B42 #421F06 #294206
monochromatic
#03051C #03051C #060B42 #0B147A #101EB2

Accessibility & contrast

On white

18.52
#060B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#060B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060B42
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060B42#FFFFFF#000000##FFFFFF
##060B421.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001644
Deuteranopia (green-blind)
#001041
Tritanopia (blue-blind)
#001B25
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #060b42;
/* rgb */ color: rgb(6, 11, 66);
/* oklch */ color: oklch(19.8% 0.101 268.9);
Tailwind
colors: {
  custom: {
    50: '#534a77',
    500: '#060b42',
    950: '#000000',
  },
}
SCSS
$custom: #060b42;
$custom-light: #534a77;
$custom-dark: #000000;
JSON
{
  "hex": "#060b42",
  "rgb": {
    "r": 6,
    "g": 11,
    "b": 66
  },
  "hsl": {
    "h": 235,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.19753,
    "c": 0.10124,
    "h": 268.9
  },
  "luminance": 0.00671
}

Semantic roles & 50–950 ramp

primary
#060B42
secondary
#827A22
accent
#E92EFA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #060B42

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

Preview Lab → · Contrast checker → · Palette generator →

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