#060939#060939

#060939 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.2% C 0.090 H 270.2°. Best body text is #FFFFFF at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#060939
RGBrgb(6, 9, 57)
HSLhsl(236, 81%, 12%)
HSVhsv(236, 89%, 22%)
CMYKcmyk(89.5%, 84.2%, 0%, 77.6%)
CIE-LABlab(4.78, 16.64, -30.23)
CIE-LCHlch(4.78, 34.51, 298.82°)
OKLaboklab(18.22% 0.0004 -0.0904)
OKLCHoklch(18.22% 0.09 270.2)
XYZxyz(0.9111, 0.5294, 3.9243)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060939 #393606
analogous
#062239 #060939 #1D0639
triadic
#060939 #390609 #093906
tetradic
#060939 #390622 #393606 #06391D
square
#060939 #390622 #393606 #06391D
split-complementary
#060939 #391D06 #223906
monochromatic
#03041C #03041C #060939 #0C1270 #121AA8

Accessibility & contrast

On white

18.99
#060939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060939
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060939#FFFFFF#000000##FFFFFF
##0609391.0018.991.1118.99
#FFFFFF18.991.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133A
Deuteranopia (green-blind)
#000E38
Tritanopia (blue-blind)
#001720
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #060939;
/* rgb */ color: rgb(6, 9, 57);
/* oklch */ color: oklch(18.2% 0.090 270.2);
Tailwind
colors: {
  custom: {
    50: '#4f4a70',
    500: '#060939',
    950: '#000000',
  },
}
SCSS
$custom: #060939;
$custom-light: #4f4a70;
$custom-dark: #000000;
JSON
{
  "hex": "#060939",
  "rgb": {
    "r": 6,
    "g": 9,
    "b": 57
  },
  "hsl": {
    "h": 236.471,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.18222,
    "c": 0.09038,
    "h": 270.2
  },
  "luminance": 0.00529
}

Semantic roles & 50–950 ramp

primary
#060939
secondary
#797422
accent
#EC30F7
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #060939

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

Preview Lab → · Contrast checker → · Palette generator →

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