#060841#060841

#060841 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.1% C 0.103 H 269.6°. Best body text is #FFFFFF at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#060841
RGBrgb(6, 8, 65)
HSLhsl(238, 83%, 14%)
HSVhsv(238, 91%, 25%)
CMYKcmyk(90.8%, 87.7%, 0%, 74.5%)
CIE-LABlab(5.36, 21.54, -35.05)
CIE-LCHlch(5.36, 41.14, 301.58°)
OKLaboklab(19.09% -0.0007 -0.1033)
OKLCHoklch(19.09% 0.103 269.6)
XYZxyz(1.1157, 0.5939, 5.0558)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060841 #413F06
analogous
#062641 #060841 #220641
triadic
#060841 #410608 #084106
tetradic
#060841 #410626 #413F06 #064122
square
#060841 #410626 #413F06 #064122
split-complementary
#060841 #412206 #264106
monochromatic
#03031C #03031C #060841 #0B0F79 #1016B1

Accessibility & contrast

On white

18.77
#060841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#060841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060841
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060841#FFFFFF#000000##FFFFFF
##0608411.0018.771.1218.77
#FFFFFF18.771.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001543
Deuteranopia (green-blind)
#000F40
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #060841;
/* rgb */ color: rgb(6, 8, 65);
/* oklch */ color: oklch(19.1% 0.103 269.6);
Tailwind
colors: {
  custom: {
    50: '#534976',
    500: '#060841',
    950: '#000000',
  },
}
SCSS
$custom: #060841;
$custom-light: #534976;
$custom-dark: #000000;
JSON
{
  "hex": "#060841",
  "rgb": {
    "r": 6,
    "g": 8,
    "b": 65
  },
  "hsl": {
    "h": 237.966,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.19093,
    "c": 0.10331,
    "h": 269.6
  },
  "luminance": 0.00594
}

Semantic roles & 50–950 ramp

primary
#060841
secondary
#817E22
accent
#F32EF9
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #060841

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

Preview Lab → · Contrast checker → · Palette generator →

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