#060A2A#060A2A

#060A2A is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.6% C 0.065 H 271.2°. Best body text is #FFFFFF at 19.36:1 contrast (WCAG AA passes).

Color values

HEX#060A2A
RGBrgb(6, 10, 42)
HSLhsl(233, 75%, 9%)
HSVhsv(233, 86%, 16%)
CMYKcmyk(85.7%, 76.2%, 0%, 83.5%)
CIE-LABlab(3.82, 8.17, -20.63)
CIE-LCHlch(3.82, 22.19, 291.61°)
OKLaboklab(16.63% 0.0013 -0.0648)
OKLCHoklch(16.63% 0.065 271.2)
XYZxyz(0.6014, 0.4229, 2.2400)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060A2A #2A2606
analogous
#061C2A #060A2A #14062A
triadic
#060A2A #2A060A #0A2A06
tetradic
#060A2A #2A061C #2A2606 #062A14
square
#060A2A #2A061C #2A2606 #062A14
split-complementary
#060A2A #2A1406 #1C2A06
monochromatic
#04061B #04061B #060A2A #0E1760 #152495

Accessibility & contrast

On white

19.36
#060A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#060A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060A2A
19.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060A2A#FFFFFF#000000##FFFFFF
##060A2A1.0019.361.0819.36
#FFFFFF19.361.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2B
Deuteranopia (green-blind)
#000C29
Tritanopia (blue-blind)
#001218
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #060a2a;
/* rgb */ color: rgb(6, 10, 42);
/* oklch */ color: oklch(16.6% 0.065 271.2);
Tailwind
colors: {
  custom: {
    50: '#4a4b63',
    500: '#060a2a',
    950: '#000000',
  },
}
SCSS
$custom: #060a2a;
$custom-light: #4a4b63;
$custom-dark: #000000;
JSON
{
  "hex": "#060a2a",
  "rgb": {
    "r": 6,
    "g": 10,
    "b": 42
  },
  "hsl": {
    "h": 233.333,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.1663,
    "c": 0.06482,
    "h": 271.2
  },
  "luminance": 0.00423
}

Semantic roles & 50–950 ramp

primary
#060A2A
secondary
#6B6221
accent
#DD36F2
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #060A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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