#061226#061226

#061226 is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.4% C 0.045 H 259.3°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#061226
RGBrgb(6, 18, 38)
HSLhsl(218, 73%, 9%)
HSVhsv(218, 84%, 15%)
CMYKcmyk(84.2%, 52.6%, 0%, 85.1%)
CIE-LABlab(5.52, 2.46, -14.93)
CIE-LCHlch(5.52, 15.13, 279.38°)
OKLaboklab(18.37% -0.0084 -0.0441)
OKLCHoklch(18.37% 0.045 259.3)
XYZxyz(0.6411, 0.6112, 1.9175)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#061226 #261A06
analogous
#062226 #061226 #0A0626
triadic
#061226 #260612 #122606
tetradic
#061226 #260622 #261A06 #06260A
square
#061226 #260622 #261A06 #06260A
split-complementary
#061226 #260A06 #222606
monochromatic
#040D1A #040D1A #061226 #0E2B5B #174490

Accessibility & contrast

On white

18.71
#061226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#061226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #061226
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##061226#FFFFFF#000000##FFFFFF
##0612261.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091427
Deuteranopia (green-blind)
#051126
Tritanopia (blue-blind)
#00171A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #061226;
/* rgb */ color: rgb(6, 18, 38);
/* oklch */ color: oklch(18.4% 0.045 259.3);
Tailwind
colors: {
  custom: {
    50: '#4a4f60',
    500: '#061226',
    950: '#000000',
  },
}
SCSS
$custom: #061226;
$custom-light: #4a4f60;
$custom-dark: #000000;
JSON
{
  "hex": "#061226",
  "rgb": {
    "r": 6,
    "g": 18,
    "b": 38
  },
  "hsl": {
    "h": 217.5,
    "s": 72.727,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18374,
    "c": 0.0449,
    "h": 259.3
  },
  "luminance": 0.00611
}

Semantic roles & 50–950 ramp

primary
#061226
secondary
#664D21
accent
#AB38EF
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010205
muted
#777879

Preview Lab

Preview with #061226

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

Preview Lab → · Contrast checker → · Palette generator →

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