#060126#060126

#060126 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.5% C 0.077 H 279.6°. Best body text is #FFFFFF at 20.19:1 contrast (WCAG AA passes).

Color values

HEX#060126
RGBrgb(6, 1, 38)
HSLhsl(248, 95%, 8%)
HSVhsv(248, 97%, 15%)
CMYKcmyk(84.2%, 97.4%, 0%, 85.1%)
CIE-LABlab(1.81, 10.05, -20.70)
CIE-LCHlch(1.81, 23.01, 295.89°)
OKLaboklab(13.53% 0.0128 -0.0756)
OKLCHoklch(13.53% 0.077 279.6)
XYZxyz(0.4357, 0.2003, 1.8491)
Luminance0.0020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060126 #212601
analogous
#010E26 #060126 #180126
triadic
#060126 #260601 #012606
tetradic
#060126 #26010E #212601 #012618
square
#060126 #26010E #212601 #012618
split-complementary
#060126 #261801 #0E2601
monochromatic
#05011E #05011E #060126 #0F0362 #19049D

Accessibility & contrast

On white

20.19
#060126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#060126 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060126
20.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060126#FFFFFF#000000##FFFFFF
##0601261.0020.191.0420.19
#FFFFFF20.191.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000827
Deuteranopia (green-blind)
#000525
Tritanopia (blue-blind)
#000A12
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #060126;
/* rgb */ color: rgb(6, 1, 38);
/* oklch */ color: oklch(13.5% 0.077 279.6);
Tailwind
colors: {
  custom: {
    50: '#494760',
    500: '#060126',
    950: '#000000',
  },
}
SCSS
$custom: #060126;
$custom-light: #494760;
$custom-dark: #000000;
JSON
{
  "hex": "#060126",
  "rgb": {
    "r": 6,
    "g": 1,
    "b": 38
  },
  "hsl": {
    "h": 248.108,
    "s": 94.872,
    "l": 7.647
  },
  "oklch": {
    "l": 0.13533,
    "c": 0.07668,
    "h": 279.6
  },
  "luminance": 0.002
}

Semantic roles & 50–950 ramp

primary
#060126
secondary
#616D16
accent
#FF29E2
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010005
muted
#777779

Preview Lab

Preview with #060126

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

Preview Lab → · Contrast checker → · Palette generator →

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