#081F46#081F46

#081F46 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.8% C 0.079 H 260.3°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#081F46
RGBrgb(8, 31, 70)
HSLhsl(218, 79%, 15%)
HSVhsv(218, 89%, 27%)
CMYKcmyk(88.6%, 55.7%, 0%, 72.5%)
CIE-LABlab(12.44, 8.05, -27.02)
CIE-LCHlch(12.44, 28.20, 286.59°)
OKLaboklab(24.78% -0.0133 -0.0778)
OKLCHoklch(24.78% 0.079 260.3)
XYZxyz(1.6952, 1.4736, 5.9883)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081F46 #462F08
analogous
#083E46 #081F46 #100846
triadic
#081F46 #46081F #1F4608
tetradic
#081F46 #46083E #462F08 #084610
square
#081F46 #46083E #462F08 #084610
split-complementary
#081F46 #461008 #3E4608
monochromatic
#030C1B #030C1B #081F46 #0E377D #1550B4

Accessibility & contrast

On white

16.22
#081F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#081F46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081F46
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081F46#FFFFFF#000000##FFFFFF
##081F461.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072347
Deuteranopia (green-blind)
#001E45
Tritanopia (blue-blind)
#00282F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #081f46;
/* rgb */ color: rgb(8, 31, 70);
/* oklch */ color: oklch(24.8% 0.079 260.3);
Tailwind
colors: {
  custom: {
    50: '#535a7a',
    500: '#081f46',
    950: '#000000',
  },
}
SCSS
$custom: #081f46;
$custom-light: #535a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#081f46",
  "rgb": {
    "r": 8,
    "g": 31,
    "b": 70
  },
  "hsl": {
    "h": 217.742,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24779,
    "c": 0.0789,
    "h": 260.3
  },
  "luminance": 0.01474
}

Semantic roles & 50–950 ramp

primary
#081F46
secondary
#846126
accent
#AD32F6
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #081F46

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

Preview Lab → · Contrast checker → · Palette generator →

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