#010C27#010C27

#010C27 is a very dark, muted blue. Relative luminance 0.004; OKLCH L 16.3% C 0.060 H 260.1°. Best body text is #FFFFFF at 19.39:1 contrast (WCAG AA passes).

Color values

HEX#010C27
RGBrgb(1, 12, 39)
HSLhsl(223, 95%, 8%)
HSVhsv(223, 97%, 15%)
CMYKcmyk(97.4%, 69.2%, 0%, 84.7%)
CIE-LABlab(3.76, 4.71, -18.46)
CIE-LCHlch(3.76, 19.05, 284.30°)
OKLaboklab(16.32% -0.0103 -0.0588)
OKLCHoklch(16.32% 0.06 260.1)
XYZxyz(0.5101, 0.4158, 1.9724)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010C27 #271C01
analogous
#011F27 #010C27 #090127
triadic
#010C27 #27010C #0C2701
tetradic
#010C27 #27011F #271C01 #012709
square
#010C27 #27011F #271C01 #012709
split-complementary
#010C27 #270901 #1F2701
monochromatic
#01091E #01091E #010C27 #031E63 #04319E

Accessibility & contrast

On white

19.39
#010C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#010C27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #010C27
19.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010C27#FFFFFF#000000##FFFFFF
##010C271.0019.391.0819.39
#FFFFFF19.391.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F28
Deuteranopia (green-blind)
#000C26
Tritanopia (blue-blind)
#001317
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #010c27;
/* rgb */ color: rgb(1, 12, 39);
/* oklch */ color: oklch(16.3% 0.060 260.1);
Tailwind
colors: {
  custom: {
    50: '#474c61',
    500: '#010c27',
    950: '#000000',
  },
}
SCSS
$custom: #010c27;
$custom-light: #474c61;
$custom-dark: #000000;
JSON
{
  "hex": "#010c27",
  "rgb": {
    "r": 1,
    "g": 12,
    "b": 39
  },
  "hsl": {
    "h": 222.632,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.16321,
    "c": 0.05973,
    "h": 260.1
  },
  "luminance": 0.00416
}

Semantic roles & 50–950 ramp

primary
#010C27
secondary
#6E5416
accent
#C129FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000105
muted
#777779

Preview Lab

Preview with #010C27

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

Preview Lab → · Contrast checker → · Palette generator →

#010C27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva