#010C28#010C28

#010C28 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.4% C 0.061 H 260.5°. Best body text is #FFFFFF at 19.36:1 contrast (WCAG AA passes).

Color values

HEX#010C28
RGBrgb(1, 12, 40)
HSLhsl(223, 95%, 8%)
HSVhsv(223, 98%, 16%)
CMYKcmyk(97.5%, 70%, 0%, 84.3%)
CIE-LABlab(3.82, 5.13, -19.13)
CIE-LCHlch(3.82, 19.81, 285.02°)
OKLaboklab(16.43% -0.0101 -0.0606)
OKLCHoklch(16.43% 0.061 260.5)
XYZxyz(0.5269, 0.4225, 2.0609)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010C28 #281D01
analogous
#011F28 #010C28 #090128
triadic
#010C28 #28010C #0C2801
tetradic
#010C28 #28011F #281D01 #012809
square
#010C28 #28011F #281D01 #012809
split-complementary
#010C28 #280901 #1F2801
monochromatic
#01091E #01091E #010C28 #021E64 #04309F

Accessibility & contrast

On white

19.36
#010C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #010C28
19.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010C28#FFFFFF#000000##FFFFFF
##010C281.0019.361.0819.36
#FFFFFF19.361.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001029
Deuteranopia (green-blind)
#000C27
Tritanopia (blue-blind)
#001318
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #010c28;
/* rgb */ color: rgb(1, 12, 40);
/* oklch */ color: oklch(16.4% 0.061 260.5);
Tailwind
colors: {
  custom: {
    50: '#474c62',
    500: '#010c28',
    950: '#000000',
  },
}
SCSS
$custom: #010c28;
$custom-light: #474c62;
$custom-dark: #000000;
JSON
{
  "hex": "#010c28",
  "rgb": {
    "r": 1,
    "g": 12,
    "b": 40
  },
  "hsl": {
    "h": 223.077,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.16428,
    "c": 0.06144,
    "h": 260.5
  },
  "luminance": 0.00423
}

Semantic roles & 50–950 ramp

primary
#010C28
secondary
#6F5616
accent
#C329FF
background
#F4F4F5
surface
#E6E7EA
border
#C2C3C6
text
#000105
muted
#777779

Preview Lab

Preview with #010C28

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

Preview Lab → · Contrast checker → · Palette generator →

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