#060427#060427

#060427 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.7% C 0.071 H 276.8°. Best body text is #FFFFFF at 19.92:1 contrast (WCAG AA passes).

Color values

HEX#060427
RGBrgb(6, 4, 39)
HSLhsl(243, 81%, 8%)
HSVhsv(243, 90%, 15%)
CMYKcmyk(84.6%, 89.7%, 0%, 84.7%)
CIE-LABlab(2.46, 9.26, -20.47)
CIE-LCHlch(2.46, 22.47, 294.34°)
OKLaboklab(14.66% 0.0083 -0.0704)
OKLCHoklch(14.66% 0.071 276.8)
XYZxyz(0.4846, 0.2720, 1.9460)
Luminance0.0027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060427 #252704
analogous
#041327 #060427 #170427
triadic
#060427 #270604 #042706
tetradic
#060427 #270413 #252704 #042717
square
#060427 #270413 #252704 #042717
split-complementary
#060427 #271704 #132704
monochromatic
#04031C #04031C #060427 #0F0A5F #170F96

Accessibility & contrast

On white

19.92
#060427 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#060427 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060427
19.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060427#FFFFFF#000000##FFFFFF
##0604271.0019.921.0519.92
#FFFFFF19.921.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A28
Deuteranopia (green-blind)
#000826
Tritanopia (blue-blind)
#000D14
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #060427;
/* rgb */ color: rgb(6, 4, 39);
/* oklch */ color: oklch(14.7% 0.071 276.8);
Tailwind
colors: {
  custom: {
    50: '#494861',
    500: '#060427',
    950: '#000000',
  },
}
SCSS
$custom: #060427;
$custom-light: #494861;
$custom-dark: #000000;
JSON
{
  "hex": "#060427",
  "rgb": {
    "r": 6,
    "g": 4,
    "b": 39
  },
  "hsl": {
    "h": 243.429,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.14662,
    "c": 0.07092,
    "h": 276.8
  },
  "luminance": 0.00272
}

Semantic roles & 50–950 ramp

primary
#060427
secondary
#656A1D
accent
#F830EC
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010005
muted
#777779

Preview Lab

Preview with #060427

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

Preview Lab → · Contrast checker → · Palette generator →

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