#060742#060742

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

Color values

HEX#060742
RGBrgb(6, 7, 66)
HSLhsl(239, 83%, 14%)
HSVhsv(239, 91%, 26%)
CMYKcmyk(90.9%, 89.4%, 0%, 74.1%)
CIE-LABlab(5.27, 22.56, -35.91)
CIE-LCHlch(5.27, 42.41, 302.13°)
OKLaboklab(19.05% -0.0005 -0.1059)
OKLCHoklch(19.05% 0.106 269.7)
XYZxyz(1.1341, 0.5839, 5.2061)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060742 #424106
analogous
#062542 #060742 #230642
triadic
#060742 #420607 #074206
tetradic
#060742 #420625 #424106 #064223
square
#060742 #420625 #424106 #064223
split-complementary
#060742 #422306 #254206
monochromatic
#03031C #03031C #060742 #0B0D7A #1013B2

Accessibility & contrast

On white

18.80
#060742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060742
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060742#FFFFFF#000000##FFFFFF
##0607421.0018.801.1218.80
#FFFFFF18.801.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #060742;
/* rgb */ color: rgb(6, 7, 66);
/* oklch */ color: oklch(19.1% 0.106 269.7);
Tailwind
colors: {
  custom: {
    50: '#534877',
    500: '#060742',
    950: '#000000',
  },
}
SCSS
$custom: #060742;
$custom-light: #534877;
$custom-dark: #000000;
JSON
{
  "hex": "#060742",
  "rgb": {
    "r": 6,
    "g": 7,
    "b": 66
  },
  "hsl": {
    "h": 239,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.1905,
    "c": 0.10593,
    "h": 269.7
  },
  "luminance": 0.00584
}

Semantic roles & 50–950 ramp

primary
#060742
secondary
#828022
accent
#F62EFA
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030009
muted
#78777B

Preview Lab

Preview with #060742

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

Preview Lab → · Contrast checker → · Palette generator →

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