#050025#050025

#050025 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 12.8% C 0.078 H 278.7°. Best body text is #FFFFFF at 20.33:1 contrast (WCAG AA passes).

Color values

HEX#050025
RGBrgb(5, 0, 37)
HSLhsl(248, 100%, 7%)
HSVhsv(248, 100%, 15%)
CMYKcmyk(86.5%, 100%, 0%, 85.5%)
CIE-LABlab(1.50, 9.78, -20.41)
CIE-LCHlch(1.50, 22.63, 295.61°)
OKLaboklab(12.85% 0.0118 -0.0776)
OKLCHoklch(12.85% 0.078 278.7)
XYZxyz(0.3964, 0.1658, 1.7610)
Luminance0.0017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050025 #202500
analogous
#000E25 #050025 #180025
triadic
#050025 #250500 #002505
tetradic
#050025 #25000E #202500 #002518
square
#050025 #25000E #202500 #002518
split-complementary
#050025 #251800 #0E2500
monochromatic
#04001F #04001F #050025 #0D0062 #16009F

Accessibility & contrast

On white

20.33
#050025 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#050025 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050025
20.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050025#FFFFFF#000000##FFFFFF
##0500251.0020.331.0320.33
#FFFFFF20.331.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000726
Deuteranopia (green-blind)
#000424
Tritanopia (blue-blind)
#000911
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #050025;
/* rgb */ color: rgb(5, 0, 37);
/* oklch */ color: oklch(12.8% 0.078 278.7);
Tailwind
colors: {
  custom: {
    50: '#48475f',
    500: '#050025',
    950: '#000000',
  },
}
SCSS
$custom: #050025;
$custom-light: #48475f;
$custom-dark: #000000;
JSON
{
  "hex": "#050025",
  "rgb": {
    "r": 5,
    "g": 0,
    "b": 37
  },
  "hsl": {
    "h": 248.108,
    "s": 100,
    "l": 7.255
  },
  "oklch": {
    "l": 0.12846,
    "c": 0.07848,
    "h": 278.7
  },
  "luminance": 0.00166
}

Semantic roles & 50–950 ramp

primary
#050025
secondary
#616D13
accent
#FF29E2
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #050025

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

Preview Lab → · Contrast checker → · Palette generator →

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