#062228#062228

#062228 is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.4% C 0.035 H 214.5°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#062228
RGBrgb(6, 34, 40)
HSLhsl(191, 74%, 9%)
HSVhsv(191, 85%, 16%)
CMYKcmyk(85%, 15%, 0%, 84.3%)
CIE-LABlab(11.52, -7.99, -7.11)
CIE-LCHlch(11.52, 10.69, 221.63°)
OKLaboklab(23.41% -0.0288 -0.0198)
OKLCHoklch(23.41% 0.035 214.5)
XYZxyz(1.0300, 1.3359, 2.2106)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062228 #280C06
analogous
#06281D #062228 #061128
triadic
#062228 #280622 #222806
tetradic
#062228 #1D0628 #280C06 #112806
square
#062228 #1D0628 #280C06 #112806
split-complementary
#062228 #280611 #281D06
monochromatic
#04171B #04171B #062228 #0E4F5D #167C92

Accessibility & contrast

On white

16.57
#062228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#062228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062228
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062228#FFFFFF#000000##FFFFFF
##0622281.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2128
Deuteranopia (green-blind)
#191D28
Tritanopia (blue-blind)
#002424
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #062228;
/* rgb */ color: rgb(6, 34, 40);
/* oklch */ color: oklch(23.4% 0.035 214.5);
Tailwind
colors: {
  custom: {
    50: '#4b5d61',
    500: '#062228',
    950: '#000000',
  },
}
SCSS
$custom: #062228;
$custom-light: #4b5d61;
$custom-dark: #000000;
JSON
{
  "hex": "#062228",
  "rgb": {
    "r": 6,
    "g": 34,
    "b": 40
  },
  "hsl": {
    "h": 190.588,
    "s": 73.913,
    "l": 9.02
  },
  "oklch": {
    "l": 0.23412,
    "c": 0.03495,
    "h": 214.5
  },
  "luminance": 0.01336
}

Semantic roles & 50–950 ramp

primary
#062228
secondary
#692E21
accent
#5837F1
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010405
muted
#777979

Preview Lab

Preview with #062228

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

Preview Lab → · Contrast checker → · Palette generator →

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