#061A38#061A38

#061A38 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.1% C 0.064 H 258.2°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#061A38
RGBrgb(6, 26, 56)
HSLhsl(216, 81%, 12%)
HSVhsv(216, 89%, 22%)
CMYKcmyk(89.3%, 53.6%, 0%, 78%)
CIE-LABlab(9.50, 5.12, -21.87)
CIE-LCHlch(9.50, 22.46, 283.17°)
OKLaboklab(22.14% -0.0131 -0.0627)
OKLCHoklch(22.14% 0.064 258.2)
XYZxyz(1.1580, 1.0629, 3.8847)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061A38 #382406
analogous
#063338 #061A38 #0B0638
triadic
#061A38 #38061A #1A3806
tetradic
#061A38 #380633 #382406 #06380B
square
#061A38 #380633 #382406 #06380B
split-complementary
#061A38 #380B06 #333806
monochromatic
#030D1C #030D1C #061A38 #0C346F #124DA7

Accessibility & contrast

On white

17.32
#061A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#061A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061A38
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061A38#FFFFFF#000000##FFFFFF
##061A381.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1D39
Deuteranopia (green-blind)
#021837
Tritanopia (blue-blind)
#002126
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #061a38;
/* rgb */ color: rgb(6, 26, 56);
/* oklch */ color: oklch(22.1% 0.064 258.2);
Tailwind
colors: {
  custom: {
    50: '#4e556f',
    500: '#061a38',
    950: '#000000',
  },
}
SCSS
$custom: #061a38;
$custom-light: #4e556f;
$custom-dark: #000000;
JSON
{
  "hex": "#061a38",
  "rgb": {
    "r": 6,
    "g": 26,
    "b": 56
  },
  "hsl": {
    "h": 216,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2214,
    "c": 0.06409,
    "h": 258.2
  },
  "luminance": 0.01063
}

Semantic roles & 50–950 ramp

primary
#061A38
secondary
#785621
accent
#A831F7
background
#F4F4F6
surface
#E7E8EC
border
#C3C4C7
text
#020307
muted
#78787A

Preview Lab

Preview with #061A38

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

Preview Lab → · Contrast checker → · Palette generator →

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