#050425#050425

#050425 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.3% C 0.068 H 275.4°. Best body text is #FFFFFF at 19.99:1 contrast (WCAG AA passes).

Color values

HEX#050425
RGBrgb(5, 4, 37)
HSLhsl(242, 80%, 8%)
HSVhsv(242, 89%, 15%)
CMYKcmyk(86.5%, 89.2%, 0%, 85.5%)
CIE-LABlab(2.28, 8.18, -19.20)
CIE-LCHlch(2.28, 20.87, 293.08°)
OKLaboklab(14.27% 0.0065 -0.0679)
OKLCHoklch(14.27% 0.068 275.4)
XYZxyz(0.4398, 0.2526, 1.7755)
Luminance0.0025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050425 #242504
analogous
#041325 #050425 #150425
triadic
#050425 #250504 #042505
tetradic
#050425 #250413 #242504 #042515
square
#050425 #250413 #242504 #042515
split-complementary
#050425 #251504 #132504
monochromatic
#04031C #04031C #050425 #0C0A5C #141093

Accessibility & contrast

On white

19.99
#050425 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#050425 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050425
19.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050425#FFFFFF#000000##FFFFFF
##0504251.0019.991.0519.99
#FFFFFF19.991.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A26
Deuteranopia (green-blind)
#000724
Tritanopia (blue-blind)
#000C13
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #050425;
/* rgb */ color: rgb(5, 4, 37);
/* oklch */ color: oklch(14.3% 0.068 275.4);
Tailwind
colors: {
  custom: {
    50: '#49485f',
    500: '#050425',
    950: '#000000',
  },
}
SCSS
$custom: #050425;
$custom-light: #49485f;
$custom-dark: #000000;
JSON
{
  "hex": "#050425",
  "rgb": {
    "r": 5,
    "g": 4,
    "b": 37
  },
  "hsl": {
    "h": 241.818,
    "s": 80.488,
    "l": 8.039
  },
  "oklch": {
    "l": 0.1427,
    "c": 0.06817,
    "h": 275.4
  },
  "luminance": 0.00253
}

Semantic roles & 50–950 ramp

primary
#050425
secondary
#66681D
accent
#F731F1
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #050425

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

Preview Lab → · Contrast checker → · Palette generator →

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