#030541#030541

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

Color values

HEX#030541
RGBrgb(3, 5, 65)
HSLhsl(238, 91%, 13%)
HSVhsv(238, 95%, 25%)
CMYKcmyk(95.4%, 92.3%, 0%, 74.5%)
CIE-LABlab(4.60, 22.40, -36.31)
CIE-LCHlch(4.60, 42.66, 301.68°)
OKLaboklab(18.29% -0.0051 -0.1084)
OKLCHoklch(18.29% 0.108 267.3)
XYZxyz(1.0456, 0.5094, 5.0432)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030541 #413F03
analogous
#032441 #030541 #200341
triadic
#030541 #410305 #054103
tetradic
#030541 #410324 #413F03 #034120
square
#030541 #410324 #413F03 #034120
split-complementary
#030541 #412003 #244103
monochromatic
#01021D #01021D #030541 #06097B #080EB6

Accessibility & contrast

On white

19.06
#030541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #030541
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030541#FFFFFF#000000##FFFFFF
##0305411.0019.061.1019.06
#FFFFFF19.061.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001343
Deuteranopia (green-blind)
#000C40
Tritanopia (blue-blind)
#001823
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #030541;
/* rgb */ color: rgb(3, 5, 65);
/* oklch */ color: oklch(18.3% 0.108 267.3);
Tailwind
colors: {
  custom: {
    50: '#514776',
    500: '#030541',
    950: '#000000',
  },
}
SCSS
$custom: #030541;
$custom-light: #514776;
$custom-dark: #000000;
JSON
{
  "hex": "#030541",
  "rgb": {
    "r": 3,
    "g": 5,
    "b": 65
  },
  "hsl": {
    "h": 238.065,
    "s": 91.176,
    "l": 13.333
  },
  "oklch": {
    "l": 0.18294,
    "c": 0.10848,
    "h": 267.3
  },
  "luminance": 0.0051
}

Semantic roles & 50–950 ramp

primary
#030541
secondary
#83801D
accent
#F829FF
background
#F5F4F7
surface
#E8E6ED
border
#C4C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #030541

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

Preview Lab → · Contrast checker → · Palette generator →

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