#001028#001028

#001028 is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.5% C 0.056 H 254.2°. Best body text is #FFFFFF at 19.01:1 contrast (WCAG AA passes).

Color values

HEX#001028
RGBrgb(0, 16, 40)
HSLhsl(216, 100%, 8%)
HSVhsv(216, 100%, 16%)
CMYKcmyk(100%, 60%, 0%, 84.3%)
CIE-LABlab(4.73, 2.88, -17.71)
CIE-LCHlch(4.73, 17.94, 279.24°)
OKLaboklab(17.47% -0.0152 -0.0539)
OKLCHoklch(17.47% 0.056 254.2)
XYZxyz(0.5681, 0.5237, 2.0782)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#001028 #281800
analogous
#002428 #001028 #040028
triadic
#001028 #280010 #102800
tetradic
#001028 #280024 #281800 #002804
square
#001028 #280024 #281800 #002804
split-complementary
#001028 #280400 #242800
monochromatic
#000C1F #000C1F #001028 #002865 #0041A2

Accessibility & contrast

On white

19.01
#001028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#001028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #001028
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##001028#FFFFFF#000000##FFFFFF
##0010281.0019.011.1019.01
#FFFFFF19.011.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041229
Deuteranopia (green-blind)
#000E28
Tritanopia (blue-blind)
#00161A
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #001028;
/* rgb */ color: rgb(0, 16, 40);
/* oklch */ color: oklch(17.5% 0.056 254.2);
Tailwind
colors: {
  custom: {
    50: '#474e62',
    500: '#001028',
    950: '#000000',
  },
}
SCSS
$custom: #001028;
$custom-light: #474e62;
$custom-dark: #000000;
JSON
{
  "hex": "#001028",
  "rgb": {
    "r": 0,
    "g": 16,
    "b": 40
  },
  "hsl": {
    "h": 216,
    "s": 100,
    "l": 7.843
  },
  "oklch": {
    "l": 0.17468,
    "c": 0.05602,
    "h": 254.2
  },
  "luminance": 0.00524
}

Semantic roles & 50–950 ramp

primary
#001028
secondary
#704B14
accent
#A929FF
background
#F4F4F5
surface
#E6E7EA
border
#C2C3C6
text
#000105
muted
#777779

Preview Lab

Preview with #001028

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

Preview Lab → · Contrast checker → · Palette generator →

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