#062841#062841

#062841 is a dark, moderate cyan. Relative luminance 0.019; OKLCH L 26.8% C 0.060 H 245.3°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#062841
RGBrgb(6, 40, 65)
HSLhsl(205, 83%, 14%)
HSVhsv(205, 91%, 25%)
CMYKcmyk(90.8%, 38.5%, 0%, 74.5%)
CIE-LABlab(15.16, -1.33, -19.21)
CIE-LCHlch(15.16, 19.26, 266.05°)
OKLaboklab(26.76% -0.0252 -0.0546)
OKLCHoklch(26.76% 0.06 245.3)
XYZxyz(1.7877, 1.9377, 5.2798)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062841 #411F06
analogous
#06413D #062841 #060A41
triadic
#062841 #410628 #284106
tetradic
#062841 #3D0641 #411F06 #0A4106
square
#062841 #3D0641 #411F06 #0A4106
split-complementary
#062841 #41060A #413D06
monochromatic
#03111C #03111C #062841 #0B4A79 #106DB1

Accessibility & contrast

On white

15.13
#062841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#062841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062841
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062841#FFFFFF#000000##FFFFFF
##0628411.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2942
Deuteranopia (green-blind)
#142441
Tritanopia (blue-blind)
#002E31
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #062841;
/* rgb */ color: rgb(6, 40, 65);
/* oklch */ color: oklch(26.8% 0.060 245.3);
Tailwind
colors: {
  custom: {
    50: '#516175',
    500: '#062841',
    950: '#000000',
  },
}
SCSS
$custom: #062841;
$custom-light: #516175;
$custom-dark: #000000;
JSON
{
  "hex": "#062841",
  "rgb": {
    "r": 6,
    "g": 40,
    "b": 65
  },
  "hsl": {
    "h": 205.424,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.26757,
    "c": 0.06016,
    "h": 245.3
  },
  "luminance": 0.01938
}

Semantic roles & 50–950 ramp

primary
#062841
secondary
#814A22
accent
#842EF9
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020508
muted
#78797B

Preview Lab

Preview with #062841

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

Preview Lab → · Contrast checker → · Palette generator →

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