#062041#062041

#062041 is a very dark, moderate cyan. Relative luminance 0.015; OKLCH L 24.5% C 0.070 H 256.0°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#062041
RGBrgb(6, 32, 65)
HSLhsl(214, 83%, 14%)
HSVhsv(214, 91%, 25%)
CMYKcmyk(90.8%, 50.8%, 0%, 74.5%)
CIE-LABlab(12.31, 4.65, -23.75)
CIE-LCHlch(12.31, 24.20, 281.09°)
OKLaboklab(24.53% -0.017 -0.0681)
OKLCHoklch(24.53% 0.07 256)
XYZxyz(1.5454, 1.4532, 5.1990)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062041 #412706
analogous
#063E41 #062041 #090641
triadic
#062041 #410620 #204106
tetradic
#062041 #41063E #412706 #064109
square
#062041 #41063E #412706 #064109
split-complementary
#062041 #410906 #3E4106
monochromatic
#030E1C #030E1C #062041 #0B3C79 #1057B1

Accessibility & contrast

On white

16.27
#062041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#062041 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062041
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062041#FFFFFF#000000##FFFFFF
##0620411.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2342
Deuteranopia (green-blind)
#031E40
Tritanopia (blue-blind)
#00282D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #062041;
/* rgb */ color: rgb(6, 32, 65);
/* oklch */ color: oklch(24.5% 0.070 256.0);
Tailwind
colors: {
  custom: {
    50: '#515a76',
    500: '#062041',
    950: '#000000',
  },
}
SCSS
$custom: #062041;
$custom-light: #515a76;
$custom-dark: #000000;
JSON
{
  "hex": "#062041",
  "rgb": {
    "r": 6,
    "g": 32,
    "b": 65
  },
  "hsl": {
    "h": 213.559,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24529,
    "c": 0.07023,
    "h": 256
  },
  "luminance": 0.01453
}

Semantic roles & 50–950 ramp

primary
#062041
secondary
#815722
accent
#A02EF9
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #062041

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

Preview Lab → · Contrast checker → · Palette generator →

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