#060128#060128

#060128 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.8% C 0.079 H 278.6°. Best body text is #FFFFFF at 20.14:1 contrast (WCAG AA passes).

Color values

HEX#060128
RGBrgb(6, 1, 40)
HSLhsl(248, 95%, 8%)
HSVhsv(248, 98%, 16%)
CMYKcmyk(85%, 97.5%, 0%, 84.3%)
CIE-LABlab(1.93, 10.89, -22.06)
CIE-LCHlch(1.93, 24.60, 296.26°)
OKLaboklab(13.84% 0.0118 -0.0786)
OKLCHoklch(13.84% 0.079 278.6)
XYZxyz(0.4688, 0.2136, 2.0236)
Luminance0.0021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060128 #232801
analogous
#010F28 #060128 #190128
triadic
#060128 #280601 #012806
tetradic
#060128 #28010F #232801 #012819
square
#060128 #28010F #232801 #012819
split-complementary
#060128 #281901 #0F2801
monochromatic
#04011E #04011E #060128 #0F0264 #18049F

Accessibility & contrast

On white

20.14
#060128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060128
20.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060128#FFFFFF#000000##FFFFFF
##0601281.0020.141.0420.14
#FFFFFF20.141.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000829
Deuteranopia (green-blind)
#000627
Tritanopia (blue-blind)
#000B13
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #060128;
/* rgb */ color: rgb(6, 1, 40);
/* oklch */ color: oklch(13.8% 0.079 278.6);
Tailwind
colors: {
  custom: {
    50: '#494762',
    500: '#060128',
    950: '#000000',
  },
}
SCSS
$custom: #060128;
$custom-light: #494762;
$custom-dark: #000000;
JSON
{
  "hex": "#060128",
  "rgb": {
    "r": 6,
    "g": 1,
    "b": 40
  },
  "hsl": {
    "h": 247.692,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.13837,
    "c": 0.07946,
    "h": 278.6
  },
  "luminance": 0.00214
}

Semantic roles & 50–950 ramp

primary
#060128
secondary
#636F16
accent
#FF29E4
background
#F4F3F5
surface
#E7E5EA
border
#C3C1C6
text
#010005
muted
#777779

Preview Lab

Preview with #060128

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

Preview Lab → · Contrast checker → · Palette generator →

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