#062831#062831

#062831 is a dark, muted cyan. Relative luminance 0.018; OKLCH L 25.8% C 0.041 H 219.3°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#062831
RGBrgb(6, 40, 49)
HSLhsl(193, 78%, 11%)
HSVhsv(193, 88%, 19%)
CMYKcmyk(87.8%, 18.4%, 0%, 80.8%)
CIE-LABlab(14.28, -8.28, -9.36)
CIE-LCHlch(14.28, 12.50, 228.49°)
OKLaboklab(25.77% -0.0319 -0.0261)
OKLCHoklch(25.77% 0.041 219.3)
XYZxyz(1.3880, 1.7779, 3.1751)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062831 #310F06
analogous
#063124 #062831 #061231
triadic
#062831 #310628 #283106
tetradic
#062831 #240631 #310F06 #123106
square
#062831 #240631 #310F06 #123106
split-complementary
#062831 #310612 #312406
monochromatic
#03161B #03161B #062831 #0D5568 #13819E

Accessibility & contrast

On white

15.49
#062831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#062831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062831
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062831#FFFFFF#000000##FFFFFF
##0628311.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222731
Deuteranopia (green-blind)
#1C2231
Tritanopia (blue-blind)
#002B2B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #062831;
/* rgb */ color: rgb(6, 40, 49);
/* oklch */ color: oklch(25.8% 0.041 219.3);
Tailwind
colors: {
  custom: {
    50: '#4d6269',
    500: '#062831',
    950: '#000000',
  },
}
SCSS
$custom: #062831;
$custom-light: #4d6269;
$custom-dark: #000000;
JSON
{
  "hex": "#062831",
  "rgb": {
    "r": 6,
    "g": 40,
    "b": 49
  },
  "hsl": {
    "h": 192.558,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.25765,
    "c": 0.04129,
    "h": 219.3
  },
  "luminance": 0.01778
}

Semantic roles & 50–950 ramp

primary
#062831
secondary
#723221
accent
#5C33F5
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#020506
muted
#78797A

Preview Lab

Preview with #062831

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

Preview Lab → · Contrast checker → · Palette generator →

#062831 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva