#061839#061839

#061839 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.7% C 0.069 H 260.9°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#061839
RGBrgb(6, 24, 57)
HSLhsl(219, 81%, 12%)
HSVhsv(219, 89%, 22%)
CMYKcmyk(89.5%, 57.9%, 0%, 77.6%)
CIE-LABlab(8.89, 7.19, -23.58)
CIE-LCHlch(8.89, 24.66, 286.95°)
OKLaboklab(21.69% -0.0109 -0.0678)
OKLCHoklch(21.69% 0.069 260.9)
XYZxyz(1.1400, 0.9873, 4.0006)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061839 #392706
analogous
#063139 #061839 #0E0639
triadic
#061839 #390618 #183906
tetradic
#061839 #390631 #392706 #06390E
square
#061839 #390631 #392706 #06390E
split-complementary
#061839 #390E06 #313906
monochromatic
#030C1C #030C1C #061839 #0C2F70 #1247A8

Accessibility & contrast

On white

17.54
#061839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#061839 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061839
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061839#FFFFFF#000000##FFFFFF
##0618391.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051C3A
Deuteranopia (green-blind)
#001738
Tritanopia (blue-blind)
#002025
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #061839;
/* rgb */ color: rgb(6, 24, 57);
/* oklch */ color: oklch(21.7% 0.069 260.9);
Tailwind
colors: {
  custom: {
    50: '#4f5470',
    500: '#061839',
    950: '#000000',
  },
}
SCSS
$custom: #061839;
$custom-light: #4f5470;
$custom-dark: #000000;
JSON
{
  "hex": "#061839",
  "rgb": {
    "r": 6,
    "g": 24,
    "b": 57
  },
  "hsl": {
    "h": 218.824,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2169,
    "c": 0.06871,
    "h": 260.9
  },
  "luminance": 0.00987
}

Semantic roles & 50–950 ramp

primary
#061839
secondary
#795A22
accent
#B130F7
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #061839

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

Preview Lab → · Contrast checker → · Palette generator →

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