#050346#050346

#050346 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.8% C 0.117 H 268.9°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#050346
RGBrgb(5, 3, 70)
HSLhsl(242, 92%, 14%)
HSVhsv(242, 96%, 27%)
CMYKcmyk(92.9%, 95.7%, 0%, 72.5%)
CIE-LABlab(4.87, 26.47, -39.41)
CIE-LCHlch(4.87, 47.48, 303.88°)
OKLaboklab(18.82% -0.0022 -0.1166)
OKLCHoklch(18.82% 0.117 268.9)
XYZxyz(1.2003, 0.5394, 5.8340)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050346 #444603
analogous
#032346 #050346 #270346
triadic
#050346 #460503 #034605
tetradic
#050346 #460323 #444603 #034627
square
#050346 #460323 #444603 #034627
split-complementary
#050346 #462703 #234603
monochromatic
#02011D #02011D #050346 #090681 #0D08BB

Accessibility & contrast

On white

18.95
#050346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#050346 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050346
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050346#FFFFFF#000000##FFFFFF
##0503461.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001448
Deuteranopia (green-blind)
#000D45
Tritanopia (blue-blind)
#001926
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #050346;
/* rgb */ color: rgb(5, 3, 70);
/* oklch */ color: oklch(18.8% 0.117 268.9);
Tailwind
colors: {
  custom: {
    50: '#54467a',
    500: '#050346',
    950: '#000000',
  },
}
SCSS
$custom: #050346;
$custom-light: #54467a;
$custom-dark: #000000;
JSON
{
  "hex": "#050346",
  "rgb": {
    "r": 5,
    "g": 3,
    "b": 70
  },
  "hsl": {
    "h": 241.791,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.18823,
    "c": 0.11665,
    "h": 268.9
  },
  "luminance": 0.0054
}

Semantic roles & 50–950 ramp

primary
#050346
secondary
#84871D
accent
#FF29F9
background
#F5F3F7
surface
#E9E5EE
border
#C5C1C9
text
#030009
muted
#78777B

Preview Lab

Preview with #050346

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

Preview Lab → · Contrast checker → · Palette generator →

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