#050225#050225

#050225 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.6% C 0.073 H 277.1°. Best body text is #FFFFFF at 20.16:1 contrast (WCAG AA passes).

Color values

HEX#050225
RGBrgb(5, 2, 37)
HSLhsl(245, 90%, 8%)
HSVhsv(245, 95%, 15%)
CMYKcmyk(86.5%, 94.6%, 0%, 85.5%)
CIE-LABlab(1.89, 8.98, -19.80)
CIE-LCHlch(1.89, 21.75, 294.40°)
OKLaboklab(13.6% 0.0091 -0.0724)
OKLCHoklch(13.6% 0.073 277.1)
XYZxyz(0.4181, 0.2092, 1.7683)
Luminance0.0021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050225 #222502
analogous
#021025 #050225 #160225
triadic
#050225 #250502 #022505
tetradic
#050225 #250210 #222502 #022516
square
#050225 #250210 #222502 #022516
split-complementary
#050225 #251602 #102502
monochromatic
#04021D #04021D #050225 #0D055F #150899

Accessibility & contrast

On white

20.16
#050225 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050225
20.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050225#FFFFFF#000000##FFFFFF
##0502251.0020.161.0420.16
#FFFFFF20.161.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000826
Deuteranopia (green-blind)
#000624
Tritanopia (blue-blind)
#000A12
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #050225;
/* rgb */ color: rgb(5, 2, 37);
/* oklch */ color: oklch(13.6% 0.073 277.1);
Tailwind
colors: {
  custom: {
    50: '#48475f',
    500: '#050225',
    950: '#000000',
  },
}
SCSS
$custom: #050225;
$custom-light: #48475f;
$custom-dark: #000000;
JSON
{
  "hex": "#050225",
  "rgb": {
    "r": 5,
    "g": 2,
    "b": 37
  },
  "hsl": {
    "h": 245.143,
    "s": 89.744,
    "l": 7.647
  },
  "oklch": {
    "l": 0.13595,
    "c": 0.073,
    "h": 277.1
  },
  "luminance": 0.00209
}

Semantic roles & 50–950 ramp

primary
#050225
secondary
#636A18
accent
#FF29ED
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #050225

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

Preview Lab → · Contrast checker → · Palette generator →

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