#060A42#060A42

#060A42 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.6% C 0.102 H 269.1°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#060A42
RGBrgb(6, 10, 66)
HSLhsl(236, 83%, 14%)
HSVhsv(236, 91%, 26%)
CMYKcmyk(90.9%, 84.8%, 0%, 74.1%)
CIE-LABlab(5.86, 21.10, -34.95)
CIE-LCHlch(5.86, 40.83, 301.13°)
OKLaboklab(19.58% -0.0016 -0.1024)
OKLCHoklch(19.58% 0.102 269.1)
XYZxyz(1.1667, 0.6490, 5.2170)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060A42 #423E06
analogous
#062842 #060A42 #200642
triadic
#060A42 #42060A #0A4206
tetradic
#060A42 #420628 #423E06 #064220
square
#060A42 #420628 #423E06 #064220
split-complementary
#060A42 #422006 #284206
monochromatic
#03041C #03041C #060A42 #0B137A #101BB2

Accessibility & contrast

On white

18.59
#060A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060A42
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060A42#FFFFFF#000000##FFFFFF
##060A421.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.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: #060a42;
/* rgb */ color: rgb(6, 10, 66);
/* oklch */ color: oklch(19.6% 0.102 269.1);
Tailwind
colors: {
  custom: {
    50: '#534a77',
    500: '#060a42',
    950: '#000000',
  },
}
SCSS
$custom: #060a42;
$custom-light: #534a77;
$custom-dark: #000000;
JSON
{
  "hex": "#060a42",
  "rgb": {
    "r": 6,
    "g": 10,
    "b": 66
  },
  "hsl": {
    "h": 236,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.19578,
    "c": 0.10239,
    "h": 269.1
  },
  "luminance": 0.00649
}

Semantic roles & 50–950 ramp

primary
#060A42
secondary
#827B22
accent
#EC2EFA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #060A42

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

Preview Lab → · Contrast checker → · Palette generator →

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