#040430#040430

#040430 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.7% C 0.086 H 270.8°. Best body text is #FFFFFF at 19.71:1 contrast (WCAG AA passes).

Color values

HEX#040430
RGBrgb(4, 4, 48)
HSLhsl(240, 85%, 10%)
HSVhsv(240, 92%, 19%)
CMYKcmyk(91.7%, 91.7%, 0%, 81.2%)
CIE-LABlab(2.94, 12.98, -26.55)
CIE-LCHlch(2.94, 29.55, 296.06°)
OKLaboklab(15.68% 0.0012 -0.0856)
OKLCHoklch(15.68% 0.086 270.8)
XYZxyz(0.6268, 0.3260, 2.8256)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040430 #303004
analogous
#041A30 #040430 #1A0430
triadic
#040430 #300404 #043004
tetradic
#040430 #30041A #303004 #04301A
square
#040430 #30041A #303004 #04301A
split-complementary
#040430 #301A04 #1A3004
monochromatic
#02021C #02021C #040430 #090968 #0D0DA1

Accessibility & contrast

On white

19.71
#040430 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#040430 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040430
19.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040430#FFFFFF#000000##FFFFFF
##0404301.0019.711.0719.71
#FFFFFF19.711.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D31
Deuteranopia (green-blind)
#00082F
Tritanopia (blue-blind)
#001119
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #040430;
/* rgb */ color: rgb(4, 4, 48);
/* oklch */ color: oklch(15.7% 0.086 270.8);
Tailwind
colors: {
  custom: {
    50: '#4a4869',
    500: '#040430',
    950: '#000000',
  },
}
SCSS
$custom: #040430;
$custom-light: #4a4869;
$custom-dark: #000000;
JSON
{
  "hex": "#040430",
  "rgb": {
    "r": 4,
    "g": 4,
    "b": 48
  },
  "hsl": {
    "h": 240,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.15675,
    "c": 0.08559,
    "h": 270.8
  },
  "luminance": 0.00326
}

Semantic roles & 50–950 ramp

primary
#040430
secondary
#72721D
accent
#FB2DFB
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #040430

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

Preview Lab → · Contrast checker → · Palette generator →

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