#050734#050734

#050734 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.1% C 0.086 H 270.4°. Best body text is #FFFFFF at 19.33:1 contrast (WCAG AA passes).

Color values

HEX#050734
RGBrgb(5, 7, 52)
HSLhsl(237, 82%, 11%)
HSVhsv(237, 90%, 20%)
CMYKcmyk(90.4%, 86.5%, 0%, 79.6%)
CIE-LABlab(3.90, 14.23, -27.99)
CIE-LCHlch(3.90, 31.40, 296.96°)
OKLaboklab(17.06% 0.0006 -0.0861)
OKLCHoklch(17.06% 0.086 270.4)
XYZxyz(0.7582, 0.4321, 3.2916)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050734 #343205
analogous
#051E34 #050734 #1A0534
triadic
#050734 #340507 #073405
tetradic
#050734 #34051E #343205 #05341A
square
#050734 #34051E #343205 #05341A
split-complementary
#050734 #341A05 #1E3405
monochromatic
#03041C #03041C #050734 #0A0F6C #1016A4

Accessibility & contrast

On white

19.33
#050734 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050734
19.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050734#FFFFFF#000000##FFFFFF
##0507341.0019.331.0919.33
#FFFFFF19.331.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001035
Deuteranopia (green-blind)
#000B33
Tritanopia (blue-blind)
#00141C
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #050734;
/* rgb */ color: rgb(5, 7, 52);
/* oklch */ color: oklch(17.1% 0.086 270.4);
Tailwind
colors: {
  custom: {
    50: '#4c496c',
    500: '#050734',
    950: '#000000',
  },
}
SCSS
$custom: #050734;
$custom-light: #4c496c;
$custom-dark: #000000;
JSON
{
  "hex": "#050734",
  "rgb": {
    "r": 5,
    "g": 7,
    "b": 52
  },
  "hsl": {
    "h": 237.447,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.17061,
    "c": 0.0861,
    "h": 270.4
  },
  "luminance": 0.00432
}

Semantic roles & 50–950 ramp

primary
#050734
secondary
#75721F
accent
#F02FF9
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020007
muted
#78777A

Preview Lab

Preview with #050734

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

Preview Lab → · Contrast checker → · Palette generator →

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