#061939#061939

#061939 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.0% C 0.067 H 259.8°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#061939
RGBrgb(6, 25, 57)
HSLhsl(218, 81%, 12%)
HSVhsv(218, 89%, 22%)
CMYKcmyk(89.5%, 56.1%, 0%, 77.6%)
CIE-LABlab(9.23, 6.39, -23.02)
CIE-LCHlch(9.23, 23.89, 285.51°)
OKLaboklab(21.96% -0.0119 -0.0662)
OKLCHoklch(21.96% 0.067 259.8)
XYZxyz(1.1610, 1.0293, 4.0076)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061939 #392606
analogous
#063339 #061939 #0D0639
triadic
#061939 #390619 #193906
tetradic
#061939 #390633 #392606 #06390D
square
#061939 #390633 #392606 #06390D
split-complementary
#061939 #390D06 #333906
monochromatic
#030C1C #030C1C #061939 #0C3170 #124AA8

Accessibility & contrast

On white

17.42
#061939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#061939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061939
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061939#FFFFFF#000000##FFFFFF
##0619391.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071C3A
Deuteranopia (green-blind)
#001838
Tritanopia (blue-blind)
#002126
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #061939;
/* rgb */ color: rgb(6, 25, 57);
/* oklch */ color: oklch(22.0% 0.067 259.8);
Tailwind
colors: {
  custom: {
    50: '#4f556f',
    500: '#061939',
    950: '#000000',
  },
}
SCSS
$custom: #061939;
$custom-light: #4f556f;
$custom-dark: #000000;
JSON
{
  "hex": "#061939",
  "rgb": {
    "r": 6,
    "g": 25,
    "b": 57
  },
  "hsl": {
    "h": 217.647,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21956,
    "c": 0.06723,
    "h": 259.8
  },
  "luminance": 0.01029
}

Semantic roles & 50–950 ramp

primary
#061939
secondary
#795922
accent
#AD30F7
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #061939

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

Preview Lab → · Contrast checker → · Palette generator →

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