#000C28#000C28

#000C28 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.3% C 0.062 H 258.7°. Best body text is #FFFFFF at 19.39:1 contrast (WCAG AA passes).

Color values

HEX#000C28
RGBrgb(0, 12, 40)
HSLhsl(222, 100%, 8%)
HSVhsv(222, 100%, 16%)
CMYKcmyk(100%, 70%, 0%, 84.3%)
CIE-LABlab(3.76, 4.87, -19.23)
CIE-LCHlch(3.76, 19.83, 284.20°)
OKLaboklab(16.33% -0.0122 -0.0611)
OKLCHoklch(16.33% 0.062 258.7)
XYZxyz(0.5143, 0.4161, 2.0603)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#000C28 #281C00
analogous
#002028 #000C28 #080028
triadic
#000C28 #28000C #0C2800
tetradic
#000C28 #280020 #281C00 #002808
square
#000C28 #280020 #281C00 #002808
split-complementary
#000C28 #280800 #202800
monochromatic
#00091F #00091F #000C28 #001E65 #0031A2

Accessibility & contrast

On white

19.39
#000C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #000C28
19.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##000C28#FFFFFF#000000##FFFFFF
##000C281.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)
#001029
Deuteranopia (green-blind)
#000B27
Tritanopia (blue-blind)
#001318
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #000c28;
/* rgb */ color: rgb(0, 12, 40);
/* oklch */ color: oklch(16.3% 0.062 258.7);
Tailwind
colors: {
  custom: {
    50: '#474c62',
    500: '#000c28',
    950: '#000000',
  },
}
SCSS
$custom: #000c28;
$custom-light: #474c62;
$custom-dark: #000000;
JSON
{
  "hex": "#000c28",
  "rgb": {
    "r": 0,
    "g": 12,
    "b": 40
  },
  "hsl": {
    "h": 222,
    "s": 100,
    "l": 7.843
  },
  "oklch": {
    "l": 0.16327,
    "c": 0.06233,
    "h": 258.7
  },
  "luminance": 0.00416
}

Semantic roles & 50–950 ramp

primary
#000C28
secondary
#705414
accent
#BF29FF
background
#F4F4F5
surface
#E6E7EA
border
#C2C3C6
text
#000105
muted
#777779

Preview Lab

Preview with #000C28

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

Preview Lab → · Contrast checker → · Palette generator →

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