#060E2E#060E2E

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

Color values

HEX#060E2E
RGBrgb(6, 14, 46)
HSLhsl(228, 77%, 10%)
HSVhsv(228, 87%, 18%)
CMYKcmyk(87%, 69.6%, 0%, 82%)
CIE-LABlab(4.97, 8.29, -21.82)
CIE-LCHlch(4.97, 23.34, 290.80°)
OKLaboklab(18.03% -0.0025 -0.0654)
OKLCHoklch(18.03% 0.065 267.8)
XYZxyz(0.7251, 0.5500, 2.6522)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060E2E #2E2606
analogous
#06222E #060E2E #12062E
triadic
#060E2E #2E060E #0E2E06
tetradic
#060E2E #2E0622 #2E2606 #062E12
square
#060E2E #2E0622 #2E2606 #062E12
split-complementary
#060E2E #2E1206 #222E06
monochromatic
#04081B #04081B #060E2E #0D1E64 #142F9A

Accessibility & contrast

On white

18.92
#060E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060E2E
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060E2E#FFFFFF#000000##FFFFFF
##060E2E1.0018.921.1118.92
#FFFFFF18.921.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #060e2e;
/* rgb */ color: rgb(6, 14, 46);
/* oklch */ color: oklch(18.0% 0.065 267.8);
Tailwind
colors: {
  custom: {
    50: '#4b4d67',
    500: '#060e2e',
    950: '#000000',
  },
}
SCSS
$custom: #060e2e;
$custom-light: #4b4d67;
$custom-dark: #000000;
JSON
{
  "hex": "#060e2e",
  "rgb": {
    "r": 6,
    "g": 14,
    "b": 46
  },
  "hsl": {
    "h": 228,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18034,
    "c": 0.06543,
    "h": 267.8
  },
  "luminance": 0.0055
}

Semantic roles & 50–950 ramp

primary
#060E2E
secondary
#6F5F21
accent
#CD34F3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #060E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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