#062838#062838

#062838 is a dark, muted cyan. Relative luminance 0.018; OKLCH L 26.2% C 0.048 H 233.5°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#062838
RGBrgb(6, 40, 56)
HSLhsl(199, 81%, 12%)
HSVhsv(199, 89%, 22%)
CMYKcmyk(89.3%, 28.6%, 0%, 78%)
CIE-LABlab(14.63, -5.32, -13.75)
CIE-LCHlch(14.63, 14.74, 248.87°)
OKLaboklab(26.17% -0.0287 -0.0387)
OKLCHoklch(26.17% 0.048 233.5)
XYZxyz(1.5474, 1.8416, 4.0145)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062838 #381606
analogous
#06382F #062838 #060F38
triadic
#062838 #380628 #283806
tetradic
#062838 #2F0638 #381606 #0F3806
square
#062838 #2F0638 #381606 #0F3806
split-complementary
#062838 #38060F #382F06
monochromatic
#03141C #03141C #062838 #0C4F6F #1277A7

Accessibility & contrast

On white

15.35
#062838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #062838
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062838#FFFFFF#000000##FFFFFF
##0628381.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202839
Deuteranopia (green-blind)
#192338
Tritanopia (blue-blind)
#002C2D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #062838;
/* rgb */ color: rgb(6, 40, 56);
/* oklch */ color: oklch(26.2% 0.048 233.5);
Tailwind
colors: {
  custom: {
    50: '#4f616e',
    500: '#062838',
    950: '#000000',
  },
}
SCSS
$custom: #062838;
$custom-light: #4f616e;
$custom-dark: #000000;
JSON
{
  "hex": "#062838",
  "rgb": {
    "r": 6,
    "g": 40,
    "b": 56
  },
  "hsl": {
    "h": 199.2,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2617,
    "c": 0.04821,
    "h": 233.5
  },
  "luminance": 0.01842
}

Semantic roles & 50–950 ramp

primary
#062838
secondary
#783D21
accent
#7031F7
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020507
muted
#78797A

Preview Lab

Preview with #062838

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

Preview Lab → · Contrast checker → · Palette generator →

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