#060A2D#060A2D

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

Color values

HEX#060A2D
RGBrgb(6, 10, 45)
HSLhsl(234, 76%, 10%)
HSVhsv(234, 87%, 18%)
CMYKcmyk(86.7%, 77.8%, 0%, 82.4%)
CIE-LABlab(4.02, 9.58, -22.58)
CIE-LCHlch(4.02, 24.53, 293.00°)
OKLaboklab(16.97% 0.0012 -0.0699)
OKLCHoklch(16.97% 0.07 271)
XYZxyz(0.6571, 0.4452, 2.5334)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060A2D #2D2906
analogous
#061E2D #060A2D #15062D
triadic
#060A2D #2D060A #0A2D06
tetradic
#060A2D #2D061E #2D2906 #062D15
square
#060A2D #2D061E #2D2906 #062D15
split-complementary
#060A2D #2D1506 #1E2D06
monochromatic
#04061B #04061B #060A2D #0D1663 #142299

Accessibility & contrast

On white

19.28
#060A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060A2D
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060A2D#FFFFFF#000000##FFFFFF
##060A2D1.0019.281.0919.28
#FFFFFF19.281.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102E
Deuteranopia (green-blind)
#000C2C
Tritanopia (blue-blind)
#00131A
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #060a2d;
/* rgb */ color: rgb(6, 10, 45);
/* oklch */ color: oklch(17.0% 0.070 271.0);
Tailwind
colors: {
  custom: {
    50: '#4b4b66',
    500: '#060a2d',
    950: '#000000',
  },
}
SCSS
$custom: #060a2d;
$custom-light: #4b4b66;
$custom-dark: #000000;
JSON
{
  "hex": "#060a2d",
  "rgb": {
    "r": 6,
    "g": 10,
    "b": 45
  },
  "hsl": {
    "h": 233.846,
    "s": 76.471,
    "l": 10
  },
  "oklch": {
    "l": 0.16969,
    "c": 0.06991,
    "h": 271
  },
  "luminance": 0.00445
}

Semantic roles & 50–950 ramp

primary
#060A2D
secondary
#6E6621
accent
#E035F3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #060A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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