#050124#050124

#050124 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.1% C 0.074 H 278.5°. Best body text is #FFFFFF at 20.27:1 contrast (WCAG AA passes).

Color values

HEX#050124
RGBrgb(5, 1, 36)
HSLhsl(247, 95%, 7%)
HSVhsv(247, 97%, 14%)
CMYKcmyk(86.1%, 97.2%, 0%, 85.9%)
CIE-LABlab(1.64, 8.99, -19.41)
CIE-LCHlch(1.64, 21.39, 294.85°)
OKLaboklab(13.08% 0.0109 -0.0734)
OKLCHoklch(13.08% 0.074 278.5)
XYZxyz(0.3918, 0.1813, 1.6831)
Luminance0.0018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050124 #202401
analogous
#010F24 #050124 #170124
triadic
#050124 #240501 #012405
tetradic
#050124 #24010F #202401 #012417
square
#050124 #24010F #202401 #012417
split-complementary
#050124 #241701 #0F2401
monochromatic
#04011E #04011E #050124 #0D0360 #16049B

Accessibility & contrast

On white

20.27
#050124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#050124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050124
20.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050124#FFFFFF#000000##FFFFFF
##0501241.0020.271.0420.27
#FFFFFF20.271.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000725
Deuteranopia (green-blind)
#000523
Tritanopia (blue-blind)
#000911
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #050124;
/* rgb */ color: rgb(5, 1, 36);
/* oklch */ color: oklch(13.1% 0.074 278.5);
Tailwind
colors: {
  custom: {
    50: '#48475e',
    500: '#050124',
    950: '#000000',
  },
}
SCSS
$custom: #050124;
$custom-light: #48475e;
$custom-dark: #000000;
JSON
{
  "hex": "#050124",
  "rgb": {
    "r": 5,
    "g": 1,
    "b": 36
  },
  "hsl": {
    "h": 246.857,
    "s": 94.595,
    "l": 7.255
  },
  "oklch": {
    "l": 0.13077,
    "c": 0.07423,
    "h": 278.5
  },
  "luminance": 0.00181
}

Semantic roles & 50–950 ramp

primary
#050124
secondary
#616B16
accent
#FF29E7
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #050124

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

Preview Lab → · Contrast checker → · Palette generator →

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