#061838#061838

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

Color values

HEX#061838
RGBrgb(6, 24, 56)
HSLhsl(218, 81%, 12%)
HSVhsv(218, 89%, 22%)
CMYKcmyk(89.3%, 57.1%, 0%, 78%)
CIE-LABlab(8.80, 6.72, -23.00)
CIE-LCHlch(8.80, 23.96, 286.28°)
OKLaboklab(21.6% -0.0111 -0.0661)
OKLCHoklch(21.6% 0.067 260.5)
XYZxyz(1.1153, 0.9774, 3.8705)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061838 #382606
analogous
#063138 #061838 #0D0638
triadic
#061838 #380618 #183806
tetradic
#061838 #380631 #382606 #06380D
square
#061838 #380631 #382606 #06380D
split-complementary
#061838 #380D06 #313806
monochromatic
#030C1C #030C1C #061838 #0C306F #1247A7

Accessibility & contrast

On white

17.56
#061838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #061838
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061838#FFFFFF#000000##FFFFFF
##0618381.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061C39
Deuteranopia (green-blind)
#001737
Tritanopia (blue-blind)
#002025
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #061838;
/* rgb */ color: rgb(6, 24, 56);
/* oklch */ color: oklch(21.6% 0.067 260.5);
Tailwind
colors: {
  custom: {
    50: '#4f546f',
    500: '#061838',
    950: '#000000',
  },
}
SCSS
$custom: #061838;
$custom-light: #4f546f;
$custom-dark: #000000;
JSON
{
  "hex": "#061838",
  "rgb": {
    "r": 6,
    "g": 24,
    "b": 56
  },
  "hsl": {
    "h": 218.4,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21599,
    "c": 0.06704,
    "h": 260.5
  },
  "luminance": 0.00978
}

Semantic roles & 50–950 ramp

primary
#061838
secondary
#785921
accent
#B031F7
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #061838

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

Preview Lab → · Contrast checker → · Palette generator →

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