#060A2F#060A2F

#060A2F is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.2% C 0.073 H 270.8°. Best body text is #FFFFFF at 19.23:1 contrast (WCAG AA passes).

Color values

HEX#060A2F
RGBrgb(6, 10, 47)
HSLhsl(234, 77%, 10%)
HSVhsv(234, 87%, 18%)
CMYKcmyk(87.2%, 78.7%, 0%, 81.6%)
CIE-LABlab(4.16, 10.59, -23.85)
CIE-LCHlch(4.16, 26.09, 293.94°)
OKLaboklab(17.2% 0.001 -0.0732)
OKLCHoklch(17.2% 0.073 270.8)
XYZxyz(0.6966, 0.4610, 2.7410)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060A2F #2F2B06
analogous
#061E2F #060A2F #16062F
triadic
#060A2F #2F060A #0A2F06
tetradic
#060A2F #2F061E #2F2B06 #062F16
square
#060A2F #2F061E #2F2B06 #062F16
split-complementary
#060A2F #2F1606 #1E2F06
monochromatic
#03061B #03061B #060A2F #0D1665 #14219C

Accessibility & contrast

On white

19.23
#060A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#060A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060A2F
19.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060A2F#FFFFFF#000000##FFFFFF
##060A2F1.0019.231.0919.23
#FFFFFF19.231.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.231.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: #060a2f;
/* rgb */ color: rgb(6, 10, 47);
/* oklch */ color: oklch(17.2% 0.073 270.8);
Tailwind
colors: {
  custom: {
    50: '#4b4b68',
    500: '#060a2f',
    950: '#000000',
  },
}
SCSS
$custom: #060a2f;
$custom-light: #4b4b68;
$custom-dark: #000000;
JSON
{
  "hex": "#060a2f",
  "rgb": {
    "r": 6,
    "g": 10,
    "b": 47
  },
  "hsl": {
    "h": 234.146,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.172,
    "c": 0.07324,
    "h": 270.8
  },
  "luminance": 0.00461
}

Semantic roles & 50–950 ramp

primary
#060A2F
secondary
#706821
accent
#E134F4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #060A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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