#050125#050125

#050125 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.2% C 0.076 H 277.9°. Best body text is #FFFFFF at 20.24:1 contrast (WCAG AA passes).

Color values

HEX#050125
RGBrgb(5, 1, 37)
HSLhsl(247, 95%, 7%)
HSVhsv(247, 97%, 15%)
CMYKcmyk(86.5%, 97.3%, 0%, 85.5%)
CIE-LABlab(1.69, 9.38, -20.11)
CIE-LCHlch(1.69, 22.19, 295.02°)
OKLaboklab(13.23% 0.0104 -0.0749)
OKLCHoklch(13.23% 0.076 277.9)
XYZxyz(0.4073, 0.1875, 1.7646)
Luminance0.0019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050125 #212501
analogous
#010F25 #050125 #170125
triadic
#050125 #250501 #012505
tetradic
#050125 #25010F #212501 #012517
square
#050125 #25010F #212501 #012517
split-complementary
#050125 #251701 #0F2501
monochromatic
#04011E #04011E #050125 #0D0361 #15049C

Accessibility & contrast

On white

20.24
#050125 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050125
20.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050125#FFFFFF#000000##FFFFFF
##0501251.0020.241.0420.24
#FFFFFF20.241.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000726
Deuteranopia (green-blind)
#000524
Tritanopia (blue-blind)
#000A12
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #050125;
/* rgb */ color: rgb(5, 1, 37);
/* oklch */ color: oklch(13.2% 0.076 277.9);
Tailwind
colors: {
  custom: {
    50: '#48475f',
    500: '#050125',
    950: '#000000',
  },
}
SCSS
$custom: #050125;
$custom-light: #48475f;
$custom-dark: #000000;
JSON
{
  "hex": "#050125",
  "rgb": {
    "r": 5,
    "g": 1,
    "b": 37
  },
  "hsl": {
    "h": 246.667,
    "s": 94.737,
    "l": 7.451
  },
  "oklch": {
    "l": 0.13231,
    "c": 0.07564,
    "h": 277.9
  },
  "luminance": 0.00188
}

Semantic roles & 50–950 ramp

primary
#050125
secondary
#626C16
accent
#FF29E7
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #050125

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

Preview Lab → · Contrast checker → · Palette generator →

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