#061942#061942

#061942 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.8% C 0.082 H 262.6°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#061942
RGBrgb(6, 25, 66)
HSLhsl(221, 83%, 14%)
HSVhsv(221, 91%, 26%)
CMYKcmyk(90.9%, 62.1%, 0%, 74.1%)
CIE-LABlab(10.01, 10.63, -28.17)
CIE-LCHlch(10.01, 30.10, 290.67°)
OKLaboklab(22.79% -0.0106 -0.0813)
OKLCHoklch(22.79% 0.082 262.6)
XYZxyz(1.4058, 1.1272, 5.2967)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061942 #422F06
analogous
#063742 #061942 #110642
triadic
#061942 #420619 #194206
tetradic
#061942 #420637 #422F06 #064211
square
#061942 #420637 #422F06 #064211
split-complementary
#061942 #421106 #374206
monochromatic
#030B1C #030B1C #061942 #0B2E7A #1044B2

Accessibility & contrast

On white

17.14
#061942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#061942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061942
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061942#FFFFFF#000000##FFFFFF
##0619421.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E43
Deuteranopia (green-blind)
#001941
Tritanopia (blue-blind)
#00232A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #061942;
/* rgb */ color: rgb(6, 25, 66);
/* oklch */ color: oklch(22.8% 0.082 262.6);
Tailwind
colors: {
  custom: {
    50: '#525577',
    500: '#061942',
    950: '#000000',
  },
}
SCSS
$custom: #061942;
$custom-light: #525577;
$custom-dark: #000000;
JSON
{
  "hex": "#061942",
  "rgb": {
    "r": 6,
    "g": 25,
    "b": 66
  },
  "hsl": {
    "h": 221,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.22794,
    "c": 0.08199,
    "h": 262.6
  },
  "luminance": 0.01127
}

Semantic roles & 50–950 ramp

primary
#061942
secondary
#826322
accent
#B92EFA
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #061942

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

Preview Lab → · Contrast checker → · Palette generator →

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