#000418#000418

#000418 is a very dark, muted blue. Relative luminance 0.002; OKLCH L 11.8% C 0.050 H 260.8°. Best body text is #FFFFFF at 20.38:1 contrast (WCAG AA passes).

Color values

HEX#000418
RGBrgb(0, 4, 24)
HSLhsl(230, 100%, 5%)
HSVhsv(230, 100%, 9%)
CMYKcmyk(100%, 83.3%, 0%, 90.6%)
CIE-LABlab(1.38, 2.58, -10.24)
CIE-LCHlch(1.38, 10.56, 284.13°)
OKLaboklab(11.78% -0.008 -0.0497)
OKLCHoklch(11.78% 0.05 260.8)
XYZxyz(0.2082, 0.1528, 0.8825)
Luminance0.0015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#000418 #181400
analogous
#001018 #000418 #080018
triadic
#000418 #180004 #041800
tetradic
#000418 #180010 #181400 #001808
square
#000418 #180010 #181400 #001808
split-complementary
#000418 #180800 #101800
monochromatic
#00051F #00051F #00051F #000E55 #001892

Accessibility & contrast

On white

20.38
#000418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#000418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #000418
20.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##000418#FFFFFF#000000##FFFFFF
##0004181.0020.381.0320.38
#FFFFFF20.381.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000619
Deuteranopia (green-blind)
#000418
Tritanopia (blue-blind)
#00080C
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #000418;
/* rgb */ color: rgb(0, 4, 24);
/* oklch */ color: oklch(11.8% 0.050 260.8);
Tailwind
colors: {
  custom: {
    50: '#464854',
    500: '#000418',
    950: '#000000',
  },
}
SCSS
$custom: #000418;
$custom-light: #464854;
$custom-dark: #000000;
JSON
{
  "hex": "#000418",
  "rgb": {
    "r": 0,
    "g": 4,
    "b": 24
  },
  "hsl": {
    "h": 230,
    "s": 100,
    "l": 4.706
  },
  "oklch": {
    "l": 0.11779,
    "c": 0.05033,
    "h": 260.8
  },
  "luminance": 0.00153
}

Semantic roles & 50–950 ramp

primary
#000418
secondary
#625511
accent
#DB29FF
background
#F3F4F4
surface
#E5E6E7
border
#C1C2C3
text
#000002
muted
#777778

Preview Lab

Preview with #000418

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

Preview Lab → · Contrast checker → · Palette generator →

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