#050740#050740

#050740 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.7% C 0.104 H 269.0°. Best body text is #FFFFFF at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#050740
RGBrgb(5, 7, 64)
HSLhsl(238, 86%, 14%)
HSVhsv(238, 92%, 25%)
CMYKcmyk(92.2%, 89.1%, 0%, 74.9%)
CIE-LABlab(5.01, 21.29, -34.92)
CIE-LCHlch(5.01, 40.90, 301.37°)
OKLaboklab(18.7% -0.0018 -0.1035)
OKLCHoklch(18.7% 0.104 269)
XYZxyz(1.0637, 0.5543, 4.9004)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050740 #403E05
analogous
#052440 #050740 #200540
triadic
#050740 #400507 #074005
tetradic
#050740 #400524 #403E05 #054020
square
#050740 #400524 #403E05 #054020
split-complementary
#050740 #402005 #244005
monochromatic
#02031C #02031C #050740 #090D79 #0E13B2

Accessibility & contrast

On white

18.91
#050740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050740
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050740#FFFFFF#000000##FFFFFF
##0507401.0018.911.1118.91
#FFFFFF18.911.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001442
Deuteranopia (green-blind)
#000E3F
Tritanopia (blue-blind)
#001923
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #050740;
/* rgb */ color: rgb(5, 7, 64);
/* oklch */ color: oklch(18.7% 0.104 269.0);
Tailwind
colors: {
  custom: {
    50: '#524876',
    500: '#050740',
    950: '#000000',
  },
}
SCSS
$custom: #050740;
$custom-light: #524876;
$custom-dark: #000000;
JSON
{
  "hex": "#050740",
  "rgb": {
    "r": 5,
    "g": 7,
    "b": 64
  },
  "hsl": {
    "h": 237.966,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.18696,
    "c": 0.10357,
    "h": 269
  },
  "luminance": 0.00554
}

Semantic roles & 50–950 ramp

primary
#050740
secondary
#817D20
accent
#F52CFC
background
#F5F4F7
surface
#E8E6ED
border
#C4C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #050740

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

Preview Lab → · Contrast checker → · Palette generator →

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