#061B42#061B42

#061B42 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.3% C 0.079 H 261.1°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#061B42
RGBrgb(6, 27, 66)
HSLhsl(219, 83%, 14%)
HSVhsv(219, 91%, 26%)
CMYKcmyk(90.9%, 59.1%, 0%, 74.1%)
CIE-LABlab(10.67, 9.04, -27.09)
CIE-LCHlch(10.67, 28.56, 288.45°)
OKLaboklab(23.3% -0.0122 -0.0781)
OKLCHoklch(23.3% 0.079 261.1)
XYZxyz(1.4501, 1.2158, 5.3114)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061B42 #422D06
analogous
#063942 #061B42 #0F0642
triadic
#061B42 #42061B #1B4206
tetradic
#061B42 #420639 #422D06 #06420F
square
#061B42 #420639 #422D06 #06420F
split-complementary
#061B42 #420F06 #394206
monochromatic
#030B1C #030B1C #061B42 #0B327A #1049B2

Accessibility & contrast

On white

16.89
#061B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#061B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061B42
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061B42#FFFFFF#000000##FFFFFF
##061B421.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022043
Deuteranopia (green-blind)
#001A41
Tritanopia (blue-blind)
#00252B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #061b42;
/* rgb */ color: rgb(6, 27, 66);
/* oklch */ color: oklch(23.3% 0.079 261.1);
Tailwind
colors: {
  custom: {
    50: '#525677',
    500: '#061b42',
    950: '#000000',
  },
}
SCSS
$custom: #061b42;
$custom-light: #525677;
$custom-dark: #000000;
JSON
{
  "hex": "#061b42",
  "rgb": {
    "r": 6,
    "g": 27,
    "b": 66
  },
  "hsl": {
    "h": 219,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23299,
    "c": 0.07904,
    "h": 261.1
  },
  "luminance": 0.01216
}

Semantic roles & 50–950 ramp

primary
#061B42
secondary
#826022
accent
#B22EFA
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #061B42

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

Preview Lab → · Contrast checker → · Palette generator →

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