#061738#061738

#061738 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.3% C 0.069 H 261.5°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#061738
RGBrgb(6, 23, 56)
HSLhsl(220, 81%, 12%)
HSVhsv(220, 89%, 22%)
CMYKcmyk(89.3%, 58.9%, 0%, 78%)
CIE-LABlab(8.45, 7.52, -23.56)
CIE-LCHlch(8.45, 24.73, 287.71°)
OKLaboklab(21.33% -0.0101 -0.0678)
OKLCHoklch(21.33% 0.069 261.5)
XYZxyz(1.0951, 0.9369, 3.8637)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061738 #382706
analogous
#063038 #061738 #0E0638
triadic
#061738 #380617 #173806
tetradic
#061738 #380630 #382706 #06380E
square
#061738 #380630 #382706 #06380E
split-complementary
#061738 #380E06 #303806
monochromatic
#030B1C #030B1C #061738 #0C2E6F #1244A7

Accessibility & contrast

On white

17.69
#061738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#061738 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061738
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061738#FFFFFF#000000##FFFFFF
##0617381.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041B39
Deuteranopia (green-blind)
#001637
Tritanopia (blue-blind)
#001F24
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #061738;
/* rgb */ color: rgb(6, 23, 56);
/* oklch */ color: oklch(21.3% 0.069 261.5);
Tailwind
colors: {
  custom: {
    50: '#4f536f',
    500: '#061738',
    950: '#000000',
  },
}
SCSS
$custom: #061738;
$custom-light: #4f536f;
$custom-dark: #000000;
JSON
{
  "hex": "#061738",
  "rgb": {
    "r": 6,
    "g": 23,
    "b": 56
  },
  "hsl": {
    "h": 219.6,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21334,
    "c": 0.06854,
    "h": 261.5
  },
  "luminance": 0.00937
}

Semantic roles & 50–950 ramp

primary
#061738
secondary
#785B21
accent
#B431F7
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #061738

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

Preview Lab → · Contrast checker → · Palette generator →

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