#050741#050741

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

Color values

HEX#050741
RGBrgb(5, 7, 65)
HSLhsl(238, 86%, 14%)
HSVhsv(238, 92%, 25%)
CMYKcmyk(92.3%, 89.2%, 0%, 74.5%)
CIE-LABlab(5.11, 21.85, -35.47)
CIE-LCHlch(5.11, 41.66, 301.63°)
OKLaboklab(18.83% -0.002 -0.1049)
OKLCHoklch(18.83% 0.105 268.9)
XYZxyz(1.0924, 0.5657, 5.0516)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050741 #413F05
analogous
#052541 #050741 #210541
triadic
#050741 #410507 #074105
tetradic
#050741 #410525 #413F05 #054121
square
#050741 #410525 #413F05 #054121
split-complementary
#050741 #412105 #254105
monochromatic
#02031C #02031C #050741 #090D7A #0E13B3

Accessibility & contrast

On white

18.86
#050741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050741
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050741#FFFFFF#000000##FFFFFF
##0507411.0018.861.1118.86
#FFFFFF18.861.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001443
Deuteranopia (green-blind)
#000E40
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #050741;
/* rgb */ color: rgb(5, 7, 65);
/* oklch */ color: oklch(18.8% 0.105 268.9);
Tailwind
colors: {
  custom: {
    50: '#524876',
    500: '#050741',
    950: '#000000',
  },
}
SCSS
$custom: #050741;
$custom-light: #524876;
$custom-dark: #000000;
JSON
{
  "hex": "#050741",
  "rgb": {
    "r": 5,
    "g": 7,
    "b": 65
  },
  "hsl": {
    "h": 238,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.18835,
    "c": 0.10497,
    "h": 268.9
  },
  "luminance": 0.00566
}

Semantic roles & 50–950 ramp

primary
#050741
secondary
#817E20
accent
#F52CFC
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #050741

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

Preview Lab → · Contrast checker → · Palette generator →

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