#062638#062638

#062638 is a dark, muted cyan. Relative luminance 0.017; OKLCH L 25.6% C 0.050 H 238.0°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#062638
RGBrgb(6, 38, 56)
HSLhsl(202, 81%, 12%)
HSVhsv(202, 89%, 22%)
CMYKcmyk(89.3%, 32.1%, 0%, 78%)
CIE-LABlab(13.89, -3.92, -14.92)
CIE-LCHlch(13.89, 15.42, 255.28°)
OKLaboklab(25.58% -0.0263 -0.0422)
OKLCHoklch(25.58% 0.05 238)
XYZxyz(1.4817, 1.7103, 3.9926)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062638 #381806
analogous
#063831 #062638 #060D38
triadic
#062638 #380626 #263806
tetradic
#062638 #310638 #381806 #0D3806
square
#062638 #310638 #381806 #0D3806
split-complementary
#062638 #38060D #383106
monochromatic
#03131C #03131C #062638 #0C4C6F #1271A7

Accessibility & contrast

On white

15.65
#062638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#062638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062638
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062638#FFFFFF#000000##FFFFFF
##0626381.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2639
Deuteranopia (green-blind)
#172138
Tritanopia (blue-blind)
#002B2C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #062638;
/* rgb */ color: rgb(6, 38, 56);
/* oklch */ color: oklch(25.6% 0.050 238.0);
Tailwind
colors: {
  custom: {
    50: '#4f606e',
    500: '#062638',
    950: '#000000',
  },
}
SCSS
$custom: #062638;
$custom-light: #4f606e;
$custom-dark: #000000;
JSON
{
  "hex": "#062638",
  "rgb": {
    "r": 6,
    "g": 38,
    "b": 56
  },
  "hsl": {
    "h": 201.6,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.25576,
    "c": 0.04972,
    "h": 238
  },
  "luminance": 0.0171
}

Semantic roles & 50–950 ramp

primary
#062638
secondary
#784121
accent
#7831F7
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #062638

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

Preview Lab → · Contrast checker → · Palette generator →

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