#060F2F#060F2F

#060F2F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.4% C 0.066 H 267.0°. Best body text is #FFFFFF at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#060F2F
RGBrgb(6, 15, 47)
HSLhsl(227, 77%, 10%)
HSVhsv(227, 87%, 18%)
CMYKcmyk(87.2%, 68.1%, 0%, 81.6%)
CIE-LABlab(5.29, 8.29, -22.06)
CIE-LCHlch(5.29, 23.56, 290.59°)
OKLaboklab(18.39% -0.0034 -0.0655)
OKLCHoklch(18.39% 0.066 267)
XYZxyz(0.7588, 0.5855, 2.7618)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060F2F #2F2606
analogous
#06232F #060F2F #11062F
triadic
#060F2F #2F060F #0F2F06
tetradic
#060F2F #2F0623 #2F2606 #062F11
square
#060F2F #2F0623 #2F2606 #062F11
split-complementary
#060F2F #2F1106 #232F06
monochromatic
#03091B #03091B #060F2F #0D2065 #14329C

Accessibility & contrast

On white

18.80
#060F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#060F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060F2F
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060F2F#FFFFFF#000000##FFFFFF
##060F2F1.0018.801.1218.80
#FFFFFF18.801.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001430
Deuteranopia (green-blind)
#00102E
Tritanopia (blue-blind)
#00171D
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #060f2f;
/* rgb */ color: rgb(6, 15, 47);
/* oklch */ color: oklch(18.4% 0.066 267.0);
Tailwind
colors: {
  custom: {
    50: '#4c4d68',
    500: '#060f2f',
    950: '#000000',
  },
}
SCSS
$custom: #060f2f;
$custom-light: #4c4d68;
$custom-dark: #000000;
JSON
{
  "hex": "#060f2f",
  "rgb": {
    "r": 6,
    "g": 15,
    "b": 47
  },
  "hsl": {
    "h": 226.829,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.18389,
    "c": 0.06557,
    "h": 267
  },
  "luminance": 0.00586
}

Semantic roles & 50–950 ramp

primary
#060F2F
secondary
#705E21
accent
#CA34F4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #060F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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