#060641#060641

#060641 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.7% C 0.106 H 270.0°. Best body text is #FFFFFF at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#060641
RGBrgb(6, 6, 65)
HSLhsl(240, 83%, 14%)
HSVhsv(240, 91%, 25%)
CMYKcmyk(90.8%, 90.8%, 0%, 74.5%)
CIE-LABlab(4.97, 22.49, -35.69)
CIE-LCHlch(4.97, 42.19, 302.22°)
OKLaboklab(18.73% 0 -0.1058)
OKLCHoklch(18.73% 0.106 270)
XYZxyz(1.0940, 0.5505, 5.0486)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060641 #414106
analogous
#062441 #060641 #240641
triadic
#060641 #410606 #064106
tetradic
#060641 #410624 #414106 #064124
square
#060641 #410624 #414106 #064124
split-complementary
#060641 #412406 #244106
monochromatic
#03031C #03031C #060641 #0B0B79 #1010B1

Accessibility & contrast

On white

18.92
#060641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#060641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060641
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060641#FFFFFF#000000##FFFFFF
##0606411.0018.921.1118.92
#FFFFFF18.921.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001443
Deuteranopia (green-blind)
#000E40
Tritanopia (blue-blind)
#001824
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #060641;
/* rgb */ color: rgb(6, 6, 65);
/* oklch */ color: oklch(18.7% 0.106 270.0);
Tailwind
colors: {
  custom: {
    50: '#534876',
    500: '#060641',
    950: '#000000',
  },
}
SCSS
$custom: #060641;
$custom-light: #534876;
$custom-dark: #000000;
JSON
{
  "hex": "#060641",
  "rgb": {
    "r": 6,
    "g": 6,
    "b": 65
  },
  "hsl": {
    "h": 240,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.18726,
    "c": 0.10579,
    "h": 270
  },
  "luminance": 0.00551
}

Semantic roles & 50–950 ramp

primary
#060641
secondary
#818122
accent
#F92EF9
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #060641

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

Preview Lab → · Contrast checker → · Palette generator →

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