#050746#050746

#050746 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.5% C 0.112 H 268.4°. Best body text is #FFFFFF at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#050746
RGBrgb(5, 7, 70)
HSLhsl(238, 87%, 15%)
HSVhsv(238, 93%, 27%)
CMYKcmyk(92.9%, 90%, 0%, 72.5%)
CIE-LABlab(5.66, 24.47, -38.12)
CIE-LCHlch(5.66, 45.30, 302.70°)
OKLaboklab(19.54% -0.0031 -0.1118)
OKLCHoklch(19.54% 0.112 268.4)
XYZxyz(1.2437, 0.6263, 5.8485)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050746 #464405
analogous
#052846 #050746 #240546
triadic
#050746 #460507 #074605
tetradic
#050746 #460528 #464405 #054624
square
#050746 #460528 #464405 #054624
split-complementary
#050746 #462405 #284605
monochromatic
#02031D #02031D #050746 #090D7F #0D12B8

Accessibility & contrast

On white

18.66
#050746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#050746 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050746
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050746#FFFFFF#000000##FFFFFF
##0507461.0018.661.1318.66
#FFFFFF18.661.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001648
Deuteranopia (green-blind)
#000F45
Tritanopia (blue-blind)
#001B27
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #050746;
/* rgb */ color: rgb(5, 7, 70);
/* oklch */ color: oklch(19.5% 0.112 268.4);
Tailwind
colors: {
  custom: {
    50: '#54487a',
    500: '#050746',
    950: '#000000',
  },
}
SCSS
$custom: #050746;
$custom-light: #54487a;
$custom-dark: #000000;
JSON
{
  "hex": "#050746",
  "rgb": {
    "r": 5,
    "g": 7,
    "b": 70
  },
  "hsl": {
    "h": 238.154,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.19538,
    "c": 0.11184,
    "h": 268.4
  },
  "luminance": 0.00626
}

Semantic roles & 50–950 ramp

primary
#050746
secondary
#868321
accent
#F62BFD
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#030009
muted
#78777B

Preview Lab

Preview with #050746

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

Preview Lab → · Contrast checker → · Palette generator →

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