#061A42#061A42

#061A42 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.0% C 0.081 H 261.9°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#061A42
RGBrgb(6, 26, 66)
HSLhsl(220, 83%, 14%)
HSVhsv(220, 91%, 26%)
CMYKcmyk(90.9%, 60.6%, 0%, 74.1%)
CIE-LABlab(10.34, 9.83, -27.63)
CIE-LCHlch(10.34, 29.33, 289.58°)
OKLaboklab(23.05% -0.0114 -0.0797)
OKLCHoklch(23.05% 0.081 261.9)
XYZxyz(1.4275, 1.1707, 5.3039)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061A42 #422E06
analogous
#063842 #061A42 #100642
triadic
#061A42 #42061A #1A4206
tetradic
#061A42 #420638 #422E06 #064210
square
#061A42 #420638 #422E06 #064210
split-complementary
#061A42 #421006 #384206
monochromatic
#030B1C #030B1C #061A42 #0B307A #1046B2

Accessibility & contrast

On white

17.02
#061A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #061A42
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061A42#FFFFFF#000000##FFFFFF
##061A421.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F43
Deuteranopia (green-blind)
#001A41
Tritanopia (blue-blind)
#00242B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #061a42;
/* rgb */ color: rgb(6, 26, 66);
/* oklch */ color: oklch(23.0% 0.081 261.9);
Tailwind
colors: {
  custom: {
    50: '#525577',
    500: '#061a42',
    950: '#000000',
  },
}
SCSS
$custom: #061a42;
$custom-light: #525577;
$custom-dark: #000000;
JSON
{
  "hex": "#061a42",
  "rgb": {
    "r": 6,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 220,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23045,
    "c": 0.08051,
    "h": 261.9
  },
  "luminance": 0.01171
}

Semantic roles & 50–950 ramp

primary
#061A42
secondary
#826222
accent
#B62EFA
background
#F4F4F7
surface
#E7E8ED
border
#C3C4C8
text
#030308
muted
#78787B

Preview Lab

Preview with #061A42

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

Preview Lab → · Contrast checker → · Palette generator →

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