#060F2A#060F2A

#060F2A is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.9% C 0.057 H 266.1°. Best body text is #FFFFFF at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#060F2A
RGBrgb(6, 15, 42)
HSLhsl(225, 75%, 9%)
HSVhsv(225, 86%, 16%)
CMYKcmyk(85.7%, 64.3%, 0%, 83.5%)
CIE-LABlab(4.95, 5.87, -18.86)
CIE-LCHlch(4.95, 19.75, 287.29°)
OKLaboklab(17.89% -0.0039 -0.0567)
OKLCHoklch(17.89% 0.057 266.1)
XYZxyz(0.6637, 0.5475, 2.2607)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060F2A #2A2106
analogous
#06212A #060F2A #0F062A
triadic
#060F2A #2A060F #0F2A06
tetradic
#060F2A #2A0621 #2A2106 #062A0F
square
#060F2A #2A0621 #2A2106 #062A0F
split-complementary
#060F2A #2A0F06 #212A06
monochromatic
#040A1B #040A1B #060F2A #0E2260 #153595

Accessibility & contrast

On white

18.93
#060F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#060F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060F2A
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060F2A#FFFFFF#000000##FFFFFF
##060F2A1.0018.931.1118.93
#FFFFFF18.931.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02122B
Deuteranopia (green-blind)
#000F29
Tritanopia (blue-blind)
#00151A
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #060f2a;
/* rgb */ color: rgb(6, 15, 42);
/* oklch */ color: oklch(17.9% 0.057 266.1);
Tailwind
colors: {
  custom: {
    50: '#4a4e63',
    500: '#060f2a',
    950: '#000000',
  },
}
SCSS
$custom: #060f2a;
$custom-light: #4a4e63;
$custom-dark: #000000;
JSON
{
  "hex": "#060f2a",
  "rgb": {
    "r": 6,
    "g": 15,
    "b": 42
  },
  "hsl": {
    "h": 225,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.17893,
    "c": 0.0568,
    "h": 266.1
  },
  "luminance": 0.00548
}

Semantic roles & 50–950 ramp

primary
#060F2A
secondary
#6B5821
accent
#C336F2
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #060F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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