#060839#060839

#060839 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.0% C 0.092 H 270.6°. Best body text is #FFFFFF at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#060839
RGBrgb(6, 8, 57)
HSLhsl(238, 81%, 12%)
HSVhsv(238, 89%, 22%)
CMYKcmyk(89.5%, 86%, 0%, 77.6%)
CIE-LABlab(4.59, 17.06, -30.55)
CIE-LCHlch(4.59, 34.99, 299.17°)
OKLaboklab(18.02% 0.0009 -0.0917)
OKLCHoklch(18.02% 0.092 270.6)
XYZxyz(0.9002, 0.5077, 3.9207)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060839 #393706
analogous
#062239 #060839 #1E0639
triadic
#060839 #390608 #083906
tetradic
#060839 #390622 #393706 #06391E
square
#060839 #390622 #393706 #06391E
split-complementary
#060839 #391E06 #223906
monochromatic
#03041C #03041C #060839 #0C1070 #1218A8

Accessibility & contrast

On white

19.06
#060839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#060839 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060839
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060839#FFFFFF#000000##FFFFFF
##0608391.0019.061.1019.06
#FFFFFF19.061.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123A
Deuteranopia (green-blind)
#000D38
Tritanopia (blue-blind)
#001620
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #060839;
/* rgb */ color: rgb(6, 8, 57);
/* oklch */ color: oklch(18.0% 0.092 270.6);
Tailwind
colors: {
  custom: {
    50: '#4f4970',
    500: '#060839',
    950: '#000000',
  },
}
SCSS
$custom: #060839;
$custom-light: #4f4970;
$custom-dark: #000000;
JSON
{
  "hex": "#060839",
  "rgb": {
    "r": 6,
    "g": 8,
    "b": 57
  },
  "hsl": {
    "h": 237.647,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.18022,
    "c": 0.09171,
    "h": 270.6
  },
  "luminance": 0.00508
}

Semantic roles & 50–950 ramp

primary
#060839
secondary
#797622
accent
#F030F7
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020107
muted
#78777A

Preview Lab

Preview with #060839

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

Preview Lab → · Contrast checker → · Palette generator →

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