#040130#040130

#040130 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.8% C 0.091 H 271.8°. Best body text is #FFFFFF at 19.96:1 contrast (WCAG AA passes).

Color values

HEX#040130
RGBrgb(4, 1, 48)
HSLhsl(244, 96%, 10%)
HSVhsv(244, 98%, 19%)
CMYKcmyk(91.7%, 97.9%, 0%, 81.2%)
CIE-LABlab(2.36, 14.18, -27.49)
CIE-LCHlch(2.36, 30.93, 297.29°)
OKLaboklab(14.83% 0.0029 -0.0913)
OKLCHoklch(14.83% 0.091 271.8)
XYZxyz(0.5942, 0.2609, 2.8148)
Luminance0.0026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040130 #2D3001
analogous
#011630 #040130 #1C0130
triadic
#040130 #300401 #013004
tetradic
#040130 #300116 #2D3001 #01301C
square
#040130 #300116 #2D3001 #01301C
split-complementary
#040130 #301C01 #163001
monochromatic
#02011E #02011E #040130 #09026C #0E03A8

Accessibility & contrast

On white

19.96
#040130 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#040130 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040130
19.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040130#FFFFFF#000000##FFFFFF
##0401301.0019.961.0519.96
#FFFFFF19.961.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B31
Deuteranopia (green-blind)
#00062F
Tritanopia (blue-blind)
#000E18
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #040130;
/* rgb */ color: rgb(4, 1, 48);
/* oklch */ color: oklch(14.8% 0.091 271.8);
Tailwind
colors: {
  custom: {
    50: '#4a4769',
    500: '#040130',
    950: '#000000',
  },
}
SCSS
$custom: #040130;
$custom-light: #4a4769;
$custom-dark: #000000;
JSON
{
  "hex": "#040130",
  "rgb": {
    "r": 4,
    "g": 1,
    "b": 48
  },
  "hsl": {
    "h": 243.83,
    "s": 95.918,
    "l": 9.608
  },
  "oklch": {
    "l": 0.14828,
    "c": 0.09137,
    "h": 271.8
  },
  "luminance": 0.00261
}

Semantic roles & 50–950 ramp

primary
#040130
secondary
#707617
accent
#FF29F1
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010006
muted
#77777A

Preview Lab

Preview with #040130

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

Preview Lab → · Contrast checker → · Palette generator →

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