#030440#030440

#030440 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.9% C 0.108 H 267.5°. Best body text is #FFFFFF at 19.17:1 contrast (WCAG AA passes).

Color values

HEX#030440
RGBrgb(3, 4, 64)
HSLhsl(239, 91%, 13%)
HSVhsv(239, 95%, 25%)
CMYKcmyk(95.3%, 93.8%, 0%, 74.9%)
CIE-LABlab(4.30, 22.28, -36.08)
CIE-LCHlch(4.30, 42.40, 301.69°)
OKLaboklab(17.95% -0.0048 -0.1084)
OKLCHoklch(17.95% 0.108 267.5)
XYZxyz(1.0061, 0.4762, 4.8884)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030440 #403F03
analogous
#032240 #030440 #200340
triadic
#030440 #400304 #044003
tetradic
#030440 #400322 #403F03 #034020
square
#030440 #400322 #403F03 #034020
split-complementary
#030440 #402003 #224003
monochromatic
#01021D #01021D #030440 #06087A #080BB5

Accessibility & contrast

On white

19.17
#030440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #030440
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030440#FFFFFF#000000##FFFFFF
##0304401.0019.171.1019.17
#FFFFFF19.171.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001242
Deuteranopia (green-blind)
#000B3F
Tritanopia (blue-blind)
#001723
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #030440;
/* rgb */ color: rgb(3, 4, 64);
/* oklch */ color: oklch(17.9% 0.108 267.5);
Tailwind
colors: {
  custom: {
    50: '#514776',
    500: '#030440',
    950: '#000000',
  },
}
SCSS
$custom: #030440;
$custom-light: #514776;
$custom-dark: #000000;
JSON
{
  "hex": "#030440",
  "rgb": {
    "r": 3,
    "g": 4,
    "b": 64
  },
  "hsl": {
    "h": 239.016,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.17945,
    "c": 0.10848,
    "h": 267.5
  },
  "luminance": 0.00476
}

Semantic roles & 50–950 ramp

primary
#030440
secondary
#82801D
accent
#FB29FF
background
#F4F4F7
surface
#E7E6ED
border
#C3C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #030440

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

Preview Lab → · Contrast checker → · Palette generator →

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