#060942#060942

#060942 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.4% C 0.104 H 269.3°. Best body text is #FFFFFF at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#060942
RGBrgb(6, 9, 66)
HSLhsl(237, 83%, 14%)
HSVhsv(237, 91%, 26%)
CMYKcmyk(90.9%, 86.4%, 0%, 74.1%)
CIE-LABlab(5.67, 21.59, -35.27)
CIE-LCHlch(5.67, 41.35, 301.47°)
OKLaboklab(19.41% -0.0013 -0.1035)
OKLCHoklch(19.41% 0.104 269.3)
XYZxyz(1.1558, 0.6273, 5.2134)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060942 #423F06
analogous
#062742 #060942 #210642
triadic
#060942 #420609 #094206
tetradic
#060942 #420627 #423F06 #064221
square
#060942 #420627 #423F06 #064221
split-complementary
#060942 #422106 #274206
monochromatic
#03041C #03041C #060942 #0B117A #1018B2

Accessibility & contrast

On white

18.66
#060942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#060942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060942
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060942#FFFFFF#000000##FFFFFF
##0609421.0018.661.1318.66
#FFFFFF18.661.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001644
Deuteranopia (green-blind)
#000F41
Tritanopia (blue-blind)
#001A25
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #060942;
/* rgb */ color: rgb(6, 9, 66);
/* oklch */ color: oklch(19.4% 0.104 269.3);
Tailwind
colors: {
  custom: {
    50: '#534977',
    500: '#060942',
    950: '#000000',
  },
}
SCSS
$custom: #060942;
$custom-light: #534977;
$custom-dark: #000000;
JSON
{
  "hex": "#060942",
  "rgb": {
    "r": 6,
    "g": 9,
    "b": 66
  },
  "hsl": {
    "h": 237,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.19406,
    "c": 0.10355,
    "h": 269.3
  },
  "luminance": 0.00627
}

Semantic roles & 50–950 ramp

primary
#060942
secondary
#827D22
accent
#EF2EFA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #060942

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

Preview Lab → · Contrast checker → · Palette generator →

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