#060B2F#060B2F

#060B2F is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.4% C 0.072 H 270.2°. Best body text is #FFFFFF at 19.15:1 contrast (WCAG AA passes).

Color values

HEX#060B2F
RGBrgb(6, 11, 47)
HSLhsl(233, 77%, 10%)
HSVhsv(233, 87%, 18%)
CMYKcmyk(87.2%, 76.6%, 0%, 81.6%)
CIE-LABlab(4.36, 10.18, -23.53)
CIE-LCHlch(4.36, 25.64, 293.39°)
OKLaboklab(17.42% 0.0002 -0.0717)
OKLCHoklch(17.42% 0.072 270.2)
XYZxyz(0.7077, 0.4832, 2.7447)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060B2F #2F2A06
analogous
#061F2F #060B2F #15062F
triadic
#060B2F #2F060B #0B2F06
tetradic
#060B2F #2F061F #2F2A06 #062F15
square
#060B2F #2F061F #2F2A06 #062F15
split-complementary
#060B2F #2F1506 #1F2F06
monochromatic
#03061B #03061B #060B2F #0D1865 #14249C

Accessibility & contrast

On white

19.15
#060B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#060B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060B2F
19.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060B2F#FFFFFF#000000##FFFFFF
##060B2F1.0019.151.1019.15
#FFFFFF19.151.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001130
Deuteranopia (green-blind)
#000D2E
Tritanopia (blue-blind)
#00141B
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #060b2f;
/* rgb */ color: rgb(6, 11, 47);
/* oklch */ color: oklch(17.4% 0.072 270.2);
Tailwind
colors: {
  custom: {
    50: '#4b4b68',
    500: '#060b2f',
    950: '#000000',
  },
}
SCSS
$custom: #060b2f;
$custom-light: #4b4b68;
$custom-dark: #000000;
JSON
{
  "hex": "#060b2f",
  "rgb": {
    "r": 6,
    "g": 11,
    "b": 47
  },
  "hsl": {
    "h": 232.683,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.17425,
    "c": 0.07175,
    "h": 270.2
  },
  "luminance": 0.00483
}

Semantic roles & 50–950 ramp

primary
#060B2F
secondary
#706621
accent
#DC34F4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #060B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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