#050134#050134

#050134 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.6% C 0.096 H 272.4°. Best body text is #FFFFFF at 19.80:1 contrast (WCAG AA passes).

Color values

HEX#050134
RGBrgb(5, 1, 52)
HSLhsl(245, 96%, 10%)
HSVhsv(245, 98%, 20%)
CMYKcmyk(90.4%, 98.1%, 0%, 79.6%)
CIE-LABlab(2.73, 16.64, -29.88)
CIE-LCHlch(2.73, 34.20, 299.12°)
OKLaboklab(15.58% 0.0041 -0.0961)
OKLCHoklch(15.58% 0.096 272.4)
XYZxyz(0.6931, 0.3018, 3.2699)
Luminance0.0030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050134 #303401
analogous
#011634 #050134 #1E0134
triadic
#050134 #340501 #013405
tetradic
#050134 #340116 #303401 #01341E
square
#050134 #340116 #303401 #01341E
split-complementary
#050134 #341E01 #163401
monochromatic
#03011E #03011E #050134 #0B0270 #1103AC

Accessibility & contrast

On white

19.80
#050134 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#050134 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050134
19.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050134#FFFFFF#000000##FFFFFF
##0501341.0019.801.0619.80
#FFFFFF19.801.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C35
Deuteranopia (green-blind)
#000733
Tritanopia (blue-blind)
#00101B
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #050134;
/* rgb */ color: rgb(5, 1, 52);
/* oklch */ color: oklch(15.6% 0.096 272.4);
Tailwind
colors: {
  custom: {
    50: '#4c466c',
    500: '#050134',
    950: '#000000',
  },
}
SCSS
$custom: #050134;
$custom-light: #4c466c;
$custom-dark: #000000;
JSON
{
  "hex": "#050134",
  "rgb": {
    "r": 5,
    "g": 1,
    "b": 52
  },
  "hsl": {
    "h": 244.706,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.15584,
    "c": 0.09618,
    "h": 272.4
  },
  "luminance": 0.00302
}

Semantic roles & 50–950 ramp

primary
#050134
secondary
#727918
accent
#FF29EE
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020007
muted
#78777A

Preview Lab

Preview with #050134

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

Preview Lab → · Contrast checker → · Palette generator →

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