#060F2D#060F2D

#060F2D is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.2% C 0.062 H 266.7°. Best body text is #FFFFFF at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#060F2D
RGBrgb(6, 15, 45)
HSLhsl(226, 76%, 10%)
HSVhsv(226, 87%, 18%)
CMYKcmyk(86.7%, 66.7%, 0%, 82.4%)
CIE-LABlab(5.15, 7.28, -20.79)
CIE-LCHlch(5.15, 22.03, 289.31°)
OKLaboklab(18.19% -0.0036 -0.062)
OKLCHoklch(18.19% 0.062 266.7)
XYZxyz(0.7194, 0.5698, 2.5542)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060F2D #2D2406
analogous
#06222D #060F2D #11062D
triadic
#060F2D #2D060F #0F2D06
tetradic
#060F2D #2D0622 #2D2406 #062D11
square
#060F2D #2D0622 #2D2406 #062D11
split-complementary
#060F2D #2D1106 #222D06
monochromatic
#04091B #04091B #060F2D #0D2163 #143399

Accessibility & contrast

On white

18.85
#060F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060F2D
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060F2D#FFFFFF#000000##FFFFFF
##060F2D1.0018.851.1118.85
#FFFFFF18.851.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132E
Deuteranopia (green-blind)
#000F2C
Tritanopia (blue-blind)
#00161C
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #060f2d;
/* rgb */ color: rgb(6, 15, 45);
/* oklch */ color: oklch(18.2% 0.062 266.7);
Tailwind
colors: {
  custom: {
    50: '#4b4d66',
    500: '#060f2d',
    950: '#000000',
  },
}
SCSS
$custom: #060f2d;
$custom-light: #4b4d66;
$custom-dark: #000000;
JSON
{
  "hex": "#060f2d",
  "rgb": {
    "r": 6,
    "g": 15,
    "b": 45
  },
  "hsl": {
    "h": 226.154,
    "s": 76.471,
    "l": 10
  },
  "oklch": {
    "l": 0.18186,
    "c": 0.0621,
    "h": 266.7
  },
  "luminance": 0.0057
}

Semantic roles & 50–950 ramp

primary
#060F2D
secondary
#6E5C21
accent
#C735F3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #060F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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