#061B3C#061B3C

#061B3C is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.8% C 0.069 H 259.0°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#061B3C
RGBrgb(6, 27, 60)
HSLhsl(217, 82%, 13%)
HSVhsv(217, 90%, 24%)
CMYKcmyk(90%, 55%, 0%, 76.5%)
CIE-LABlab(10.17, 6.22, -23.65)
CIE-LCHlch(10.17, 24.46, 284.73°)
OKLaboklab(22.76% -0.0132 -0.068)
OKLCHoklch(22.76% 0.069 259)
XYZxyz(1.2824, 1.1487, 4.4282)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061B3C #3C2706
analogous
#06363C #061B3C #0C063C
triadic
#061B3C #3C061B #1B3C06
tetradic
#061B3C #3C0636 #3C2706 #063C0C
square
#061B3C #3C0636 #3C2706 #063C0C
split-complementary
#061B3C #3C0C06 #363C06
monochromatic
#030D1C #030D1C #061B3C #0C3474 #114DAB

Accessibility & contrast

On white

17.08
#061B3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#061B3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061B3C
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061B3C#FFFFFF#000000##FFFFFF
##061B3C1.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081E3D
Deuteranopia (green-blind)
#001A3B
Tritanopia (blue-blind)
#002328
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #061b3c;
/* rgb */ color: rgb(6, 27, 60);
/* oklch */ color: oklch(22.8% 0.069 259.0);
Tailwind
colors: {
  custom: {
    50: '#505672',
    500: '#061b3c',
    950: '#000000',
  },
}
SCSS
$custom: #061b3c;
$custom-light: #505672;
$custom-dark: #000000;
JSON
{
  "hex": "#061b3c",
  "rgb": {
    "r": 6,
    "g": 27,
    "b": 60
  },
  "hsl": {
    "h": 216.667,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22757,
    "c": 0.06925,
    "h": 259
  },
  "luminance": 0.01149
}

Semantic roles & 50–950 ramp

primary
#061B3C
secondary
#7C5922
accent
#AA30F8
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020308
muted
#78787B

Preview Lab

Preview with #061B3C

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

Preview Lab → · Contrast checker → · Palette generator →

#061B3C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva