#060B2E#060B2E

#060B2E is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.3% C 0.070 H 270.2°. Best body text is #FFFFFF at 19.18:1 contrast (WCAG AA passes).

Color values

HEX#060B2E
RGBrgb(6, 11, 46)
HSLhsl(233, 77%, 10%)
HSVhsv(233, 87%, 18%)
CMYKcmyk(87%, 76.1%, 0%, 82%)
CIE-LABlab(4.29, 9.67, -22.90)
CIE-LCHlch(4.29, 24.86, 292.90°)
OKLaboklab(17.31% 0.0003 -0.0701)
OKLCHoklch(17.31% 0.07 270.2)
XYZxyz(0.6878, 0.4752, 2.6397)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060B2E #2E2906
analogous
#061F2E #060B2E #15062E
triadic
#060B2E #2E060B #0B2E06
tetradic
#060B2E #2E061F #2E2906 #062E15
square
#060B2E #2E061F #2E2906 #062E15
split-complementary
#060B2E #2E1506 #1F2E06
monochromatic
#04061B #04061B #060B2E #0D1864 #14259A

Accessibility & contrast

On white

19.18
#060B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#060B2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060B2E
19.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060B2E#FFFFFF#000000##FFFFFF
##060B2E1.0019.181.1019.18
#FFFFFF19.181.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112F
Deuteranopia (green-blind)
#000D2D
Tritanopia (blue-blind)
#00141A
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #060b2e;
/* rgb */ color: rgb(6, 11, 46);
/* oklch */ color: oklch(17.3% 0.070 270.2);
Tailwind
colors: {
  custom: {
    50: '#4b4b67',
    500: '#060b2e',
    950: '#000000',
  },
}
SCSS
$custom: #060b2e;
$custom-light: #4b4b67;
$custom-dark: #000000;
JSON
{
  "hex": "#060b2e",
  "rgb": {
    "r": 6,
    "g": 11,
    "b": 46
  },
  "hsl": {
    "h": 232.5,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.17311,
    "c": 0.07008,
    "h": 270.2
  },
  "luminance": 0.00475
}

Semantic roles & 50–950 ramp

primary
#060B2E
secondary
#6F6521
accent
#DC34F3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #060B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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