#060D2D#060D2D

#060D2D is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.7% C 0.065 H 268.6°. Best body text is #FFFFFF at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#060D2D
RGBrgb(6, 13, 45)
HSLhsl(229, 76%, 10%)
HSVhsv(229, 87%, 18%)
CMYKcmyk(86.7%, 71.1%, 0%, 82.4%)
CIE-LABlab(4.66, 8.28, -21.56)
CIE-LCHlch(4.66, 23.10, 291.00°)
OKLaboklab(17.68% -0.0016 -0.0653)
OKLCHoklch(17.68% 0.065 268.6)
XYZxyz(0.6925, 0.5160, 2.5452)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060D2D #2D2606
analogous
#06202D #060D2D #13062D
triadic
#060D2D #2D060D #0D2D06
tetradic
#060D2D #2D0620 #2D2606 #062D13
square
#060D2D #2D0620 #2D2606 #062D13
split-complementary
#060D2D #2D1306 #202D06
monochromatic
#04081B #04081B #060D2D #0D1D63 #142C99

Accessibility & contrast

On white

19.04
#060D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060D2D
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060D2D#FFFFFF#000000##FFFFFF
##060D2D1.0019.041.1019.04
#FFFFFF19.041.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122E
Deuteranopia (green-blind)
#000E2C
Tritanopia (blue-blind)
#00151B
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #060d2d;
/* rgb */ color: rgb(6, 13, 45);
/* oklch */ color: oklch(17.7% 0.065 268.6);
Tailwind
colors: {
  custom: {
    50: '#4b4c66',
    500: '#060d2d',
    950: '#000000',
  },
}
SCSS
$custom: #060d2d;
$custom-light: #4b4c66;
$custom-dark: #000000;
JSON
{
  "hex": "#060d2d",
  "rgb": {
    "r": 6,
    "g": 13,
    "b": 45
  },
  "hsl": {
    "h": 229.231,
    "s": 76.471,
    "l": 10
  },
  "oklch": {
    "l": 0.17681,
    "c": 0.06528,
    "h": 268.6
  },
  "luminance": 0.00516
}

Semantic roles & 50–950 ramp

primary
#060D2D
secondary
#6E6021
accent
#D135F3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #060D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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