#050738#050738

#050738 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.6% C 0.092 H 269.9°. Best body text is #FFFFFF at 19.20:1 contrast (WCAG AA passes).

Color values

HEX#050738
RGBrgb(5, 7, 56)
HSLhsl(238, 84%, 12%)
HSVhsv(238, 91%, 22%)
CMYKcmyk(91.1%, 87.5%, 0%, 78%)
CIE-LABlab(4.24, 16.62, -30.38)
CIE-LCHlch(4.24, 34.63, 298.68°)
OKLaboklab(17.6% -0.0001 -0.0921)
OKLCHoklch(17.6% 0.092 269.9)
XYZxyz(0.8521, 0.4696, 3.7864)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050738 #383605
analogous
#052138 #050738 #1D0538
triadic
#050738 #380507 #073805
tetradic
#050738 #380521 #383605 #05381D
square
#050738 #380521 #383605 #05381D
split-complementary
#050738 #381D05 #213805
monochromatic
#03041C #03041C #050738 #0A0E70 #0F15A8

Accessibility & contrast

On white

19.20
#050738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#050738 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050738
19.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050738#FFFFFF#000000##FFFFFF
##0507381.0019.201.0919.20
#FFFFFF19.201.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001139
Deuteranopia (green-blind)
#000C37
Tritanopia (blue-blind)
#00151F
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #050738;
/* rgb */ color: rgb(5, 7, 56);
/* oklch */ color: oklch(17.6% 0.092 269.9);
Tailwind
colors: {
  custom: {
    50: '#4e496f',
    500: '#050738',
    950: '#000000',
  },
}
SCSS
$custom: #050738;
$custom-light: #4e496f;
$custom-dark: #000000;
JSON
{
  "hex": "#050738",
  "rgb": {
    "r": 5,
    "g": 7,
    "b": 56
  },
  "hsl": {
    "h": 237.647,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.17597,
    "c": 0.09208,
    "h": 269.9
  },
  "luminance": 0.0047
}

Semantic roles & 50–950 ramp

primary
#050738
secondary
#797620
accent
#F22EFA
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #050738

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

Preview Lab → · Contrast checker → · Palette generator →

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