#062837#062837

#062837 is a dark, muted cyan. Relative luminance 0.018; OKLCH L 26.1% C 0.047 H 231.8°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#062837
RGBrgb(6, 40, 55)
HSLhsl(198, 80%, 12%)
HSVhsv(198, 89%, 22%)
CMYKcmyk(89.1%, 27.3%, 0%, 78.4%)
CIE-LABlab(14.58, -5.75, -13.13)
CIE-LCHlch(14.58, 14.33, 246.35°)
OKLaboklab(26.11% -0.0291 -0.037)
OKLCHoklch(26.11% 0.047 231.8)
XYZxyz(1.5232, 1.8320, 3.8870)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062837 #371506
analogous
#06372E #062837 #061037
triadic
#062837 #370628 #283706
tetradic
#062837 #2E0637 #371506 #103706
square
#062837 #2E0637 #371506 #103706
split-complementary
#062837 #370610 #372E06
monochromatic
#03141C #03141C #062837 #0C506E #1278A5

Accessibility & contrast

On white

15.37
#062837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#062837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062837
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062837#FFFFFF#000000##FFFFFF
##0628371.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202738
Deuteranopia (green-blind)
#1A2337
Tritanopia (blue-blind)
#002C2D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #062837;
/* rgb */ color: rgb(6, 40, 55);
/* oklch */ color: oklch(26.1% 0.047 231.8);
Tailwind
colors: {
  custom: {
    50: '#4f616d',
    500: '#062837',
    950: '#000000',
  },
}
SCSS
$custom: #062837;
$custom-light: #4f616d;
$custom-dark: #000000;
JSON
{
  "hex": "#062837",
  "rgb": {
    "r": 6,
    "g": 40,
    "b": 55
  },
  "hsl": {
    "h": 198.367,
    "s": 80.328,
    "l": 11.961
  },
  "oklch": {
    "l": 0.26109,
    "c": 0.04706,
    "h": 231.8
  },
  "luminance": 0.01832
}

Semantic roles & 50–950 ramp

primary
#062837
secondary
#773C21
accent
#6E31F7
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020507
muted
#78797A

Preview Lab

Preview with #062837

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

Preview Lab → · Contrast checker → · Palette generator →

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