#060A2C#060A2C

#060A2C is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.9% C 0.068 H 271.0°. Best body text is #FFFFFF at 19.31:1 contrast (WCAG AA passes).

Color values

HEX#060A2C
RGBrgb(6, 10, 44)
HSLhsl(234, 76%, 10%)
HSVhsv(234, 86%, 17%)
CMYKcmyk(86.4%, 77.3%, 0%, 82.7%)
CIE-LABlab(3.95, 9.10, -21.93)
CIE-LCHlch(3.95, 23.75, 292.54°)
OKLaboklab(16.85% 0.0012 -0.0682)
OKLCHoklch(16.85% 0.068 271)
XYZxyz(0.6381, 0.4376, 2.4332)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060A2C #2C2806
analogous
#061D2C #060A2C #15062C
triadic
#060A2C #2C060A #0A2C06
tetradic
#060A2C #2C061D #2C2806 #062C15
square
#060A2C #2C061D #2C2806 #062C15
split-complementary
#060A2C #2C1506 #1D2C06
monochromatic
#04061B #04061B #060A2C #0D1662 #152298

Accessibility & contrast

On white

19.31
#060A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060A2C
19.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060A2C#FFFFFF#000000##FFFFFF
##060A2C1.0019.311.0919.31
#FFFFFF19.311.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102D
Deuteranopia (green-blind)
#000C2B
Tritanopia (blue-blind)
#001319
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #060a2c;
/* rgb */ color: rgb(6, 10, 44);
/* oklch */ color: oklch(16.9% 0.068 271.0);
Tailwind
colors: {
  custom: {
    50: '#4a4b65',
    500: '#060a2c',
    950: '#000000',
  },
}
SCSS
$custom: #060a2c;
$custom-light: #4a4b65;
$custom-dark: #000000;
JSON
{
  "hex": "#060a2c",
  "rgb": {
    "r": 6,
    "g": 10,
    "b": 44
  },
  "hsl": {
    "h": 233.684,
    "s": 76,
    "l": 9.804
  },
  "oklch": {
    "l": 0.16854,
    "c": 0.06823,
    "h": 271
  },
  "luminance": 0.00438
}

Semantic roles & 50–950 ramp

primary
#060A2C
secondary
#6D6521
accent
#DF35F3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #060A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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