#040930#040930

#040930 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.9% C 0.077 H 268.5°. Best body text is #FFFFFF at 19.32:1 contrast (WCAG AA passes).

Color values

HEX#040930
RGBrgb(4, 9, 48)
HSLhsl(233, 85%, 10%)
HSVhsv(233, 92%, 19%)
CMYKcmyk(91.7%, 81.3%, 0%, 81.2%)
CIE-LABlab(3.92, 10.98, -24.99)
CIE-LCHlch(3.92, 27.29, 293.73°)
OKLaboklab(16.91% -0.002 -0.0773)
OKLCHoklch(16.91% 0.077 268.5)
XYZxyz(0.6811, 0.4345, 2.8437)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040930 #302B04
analogous
#041F30 #040930 #150430
triadic
#040930 #300409 #093004
tetradic
#040930 #30041F #302B04 #043015
square
#040930 #30041F #302B04 #043015
split-complementary
#040930 #301504 #1F3004
monochromatic
#02051C #02051C #040930 #091468 #0D1EA1

Accessibility & contrast

On white

19.32
#040930 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#040930 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040930
19.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040930#FFFFFF#000000##FFFFFF
##0409301.0019.321.0919.32
#FFFFFF19.321.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001031
Deuteranopia (green-blind)
#000C2F
Tritanopia (blue-blind)
#00141B
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #040930;
/* rgb */ color: rgb(4, 9, 48);
/* oklch */ color: oklch(16.9% 0.077 268.5);
Tailwind
colors: {
  custom: {
    50: '#4b4a69',
    500: '#040930',
    950: '#000000',
  },
}
SCSS
$custom: #040930;
$custom-light: #4b4a69;
$custom-dark: #000000;
JSON
{
  "hex": "#040930",
  "rgb": {
    "r": 4,
    "g": 9,
    "b": 48
  },
  "hsl": {
    "h": 233.182,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.16911,
    "c": 0.07735,
    "h": 268.5
  },
  "luminance": 0.00435
}

Semantic roles & 50–950 ramp

primary
#040930
secondary
#72691D
accent
#E32DFB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #040930

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

Preview Lab → · Contrast checker → · Palette generator →

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