#081225#081225

#081225 is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.4% C 0.042 H 261.9°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#081225
RGBrgb(8, 18, 37)
HSLhsl(219, 64%, 9%)
HSVhsv(219, 78%, 15%)
CMYKcmyk(78.4%, 51.4%, 0%, 85.5%)
CIE-LABlab(5.58, 2.58, -14.07)
CIE-LCHlch(5.58, 14.30, 280.41°)
OKLaboklab(18.45% -0.0059 -0.0414)
OKLCHoklch(18.45% 0.042 261.9)
XYZxyz(0.6503, 0.6178, 1.8349)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081225 #251B08
analogous
#082125 #081225 #0D0825
triadic
#081225 #250812 #122508
tetradic
#081225 #250821 #251B08 #08250D
square
#081225 #250821 #251B08 #08250D
split-complementary
#081225 #250D08 #212508
monochromatic
#050C19 #050C19 #081225 #132A57 #1E438A

Accessibility & contrast

On white

18.69
#081225 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#081225 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081225
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081225#FFFFFF#000000##FFFFFF
##0812251.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1426
Deuteranopia (green-blind)
#061125
Tritanopia (blue-blind)
#001619
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #081225;
/* rgb */ color: rgb(8, 18, 37);
/* oklch */ color: oklch(18.4% 0.042 261.9);
Tailwind
colors: {
  custom: {
    50: '#4a4f5f',
    500: '#081225',
    950: '#000000',
  },
}
SCSS
$custom: #081225;
$custom-light: #4a4f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#081225",
  "rgb": {
    "r": 8,
    "g": 18,
    "b": 37
  },
  "hsl": {
    "h": 219.31,
    "s": 64.444,
    "l": 8.824
  },
  "oklch": {
    "l": 0.18449,
    "c": 0.04186,
    "h": 261.9
  },
  "luminance": 0.00618
}

Semantic roles & 50–950 ramp

primary
#081225
secondary
#634E26
accent
#AE40E7
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010204
muted
#777879

Preview Lab

Preview with #081225

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

Preview Lab → · Contrast checker → · Palette generator →

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