#081F49#081F49

#081F49 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.0% C 0.084 H 261.1°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#081F49
RGBrgb(8, 31, 73)
HSLhsl(219, 80%, 16%)
HSVhsv(219, 89%, 29%)
CMYKcmyk(89%, 57.5%, 0%, 71.4%)
CIE-LABlab(12.69, 9.44, -28.70)
CIE-LCHlch(12.69, 30.21, 288.20°)
OKLaboklab(25.05% -0.0129 -0.0827)
OKLCHoklch(25.05% 0.084 261.1)
XYZxyz(1.7923, 1.5124, 6.4995)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081F49 #493208
analogous
#083F49 #081F49 #110849
triadic
#081F49 #49081F #1F4908
tetradic
#081F49 #49083F #493208 #084911
square
#081F49 #49083F #493208 #084911
split-complementary
#081F49 #491108 #3F4908
monochromatic
#030C1C #030C1C #081F49 #0E3680 #144EB7

Accessibility & contrast

On white

16.12
#081F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#081F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081F49
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081F49#FFFFFF#000000##FFFFFF
##081F491.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04244B
Deuteranopia (green-blind)
#001E48
Tritanopia (blue-blind)
#002930
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #081f49;
/* rgb */ color: rgb(8, 31, 73);
/* oklch */ color: oklch(25.0% 0.084 261.1);
Tailwind
colors: {
  custom: {
    50: '#545a7c',
    500: '#081f49',
    950: '#000000',
  },
}
SCSS
$custom: #081f49;
$custom-light: #545a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#081f49",
  "rgb": {
    "r": 8,
    "g": 31,
    "b": 73
  },
  "hsl": {
    "h": 218.769,
    "s": 80.247,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25047,
    "c": 0.0837,
    "h": 261.1
  },
  "luminance": 0.01513
}

Semantic roles & 50–950 ramp

primary
#081F49
secondary
#876526
accent
#B131F7
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #081F49

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

Preview Lab → · Contrast checker → · Palette generator →

#081F49 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva