#060027#060027

#060027 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.3% C 0.081 H 279.8°. Best body text is #FFFFFF at 20.25:1 contrast (WCAG AA passes).

Color values

HEX#060027
RGBrgb(6, 0, 39)
HSLhsl(249, 100%, 8%)
HSVhsv(249, 100%, 15%)
CMYKcmyk(84.6%, 100%, 0%, 84.7%)
CIE-LABlab(1.67, 10.86, -21.69)
CIE-LCHlch(1.67, 24.26, 296.60°)
OKLaboklab(13.33% 0.0137 -0.0796)
OKLCHoklch(13.33% 0.081 279.8)
XYZxyz(0.4412, 0.1852, 1.9316)
Luminance0.0019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060027 #212700
analogous
#000D27 #060027 #190027
triadic
#060027 #270600 #002706
tetradic
#060027 #27000D #212700 #002719
square
#060027 #27000D #212700 #002719
split-complementary
#060027 #271900 #0D2700
monochromatic
#05001F #05001F #060027 #0F0064 #1900A1

Accessibility & contrast

On white

20.25
#060027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #060027
20.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060027#FFFFFF#000000##FFFFFF
##0600271.0020.251.0420.25
#FFFFFF20.251.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000728
Deuteranopia (green-blind)
#000526
Tritanopia (blue-blind)
#000912
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #060027;
/* rgb */ color: rgb(6, 0, 39);
/* oklch */ color: oklch(13.3% 0.081 279.8);
Tailwind
colors: {
  custom: {
    50: '#494661',
    500: '#060027',
    950: '#000000',
  },
}
SCSS
$custom: #060027;
$custom-light: #494661;
$custom-dark: #000000;
JSON
{
  "hex": "#060027",
  "rgb": {
    "r": 6,
    "g": 0,
    "b": 39
  },
  "hsl": {
    "h": 249.231,
    "s": 100,
    "l": 7.647
  },
  "oklch": {
    "l": 0.13325,
    "c": 0.08074,
    "h": 279.8
  },
  "luminance": 0.00185
}

Semantic roles & 50–950 ramp

primary
#060027
secondary
#616F14
accent
#FF29DE
background
#F4F3F5
surface
#E7E5EA
border
#C3C1C6
text
#010005
muted
#777779

Preview Lab

Preview with #060027

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

Preview Lab → · Contrast checker → · Palette generator →

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