#050739#050739

#050739 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.7% C 0.094 H 269.8°. Best body text is #FFFFFF at 19.16:1 contrast (WCAG AA passes).

Color values

HEX#050739
RGBrgb(5, 7, 57)
HSLhsl(238, 84%, 12%)
HSVhsv(238, 91%, 22%)
CMYKcmyk(91.2%, 87.7%, 0%, 77.6%)
CIE-LABlab(4.33, 17.23, -30.97)
CIE-LCHlch(4.33, 35.44, 299.09°)
OKLaboklab(17.73% -0.0003 -0.0935)
OKLCHoklch(17.73% 0.094 269.8)
XYZxyz(0.8768, 0.4795, 3.9164)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050739 #393705
analogous
#052139 #050739 #1D0539
triadic
#050739 #390507 #073905
tetradic
#050739 #390521 #393705 #05391D
square
#050739 #390521 #393705 #05391D
split-complementary
#050739 #391D05 #213905
monochromatic
#02031C #02031C #050739 #0A0E71 #0F15AA

Accessibility & contrast

On white

19.16
#050739 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050739
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050739#FFFFFF#000000##FFFFFF
##0507391.0019.161.1019.16
#FFFFFF19.161.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123A
Deuteranopia (green-blind)
#000C38
Tritanopia (blue-blind)
#00161F
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #050739;
/* rgb */ color: rgb(5, 7, 57);
/* oklch */ color: oklch(17.7% 0.094 269.8);
Tailwind
colors: {
  custom: {
    50: '#4f4970',
    500: '#050739',
    950: '#000000',
  },
}
SCSS
$custom: #050739;
$custom-light: #4f4970;
$custom-dark: #000000;
JSON
{
  "hex": "#050739",
  "rgb": {
    "r": 5,
    "g": 7,
    "b": 57
  },
  "hsl": {
    "h": 237.692,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.17732,
    "c": 0.09355,
    "h": 269.8
  },
  "luminance": 0.0048
}

Semantic roles & 50–950 ramp

primary
#050739
secondary
#7A7720
accent
#F22EFA
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #050739

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

Preview Lab → · Contrast checker → · Palette generator →

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