#081C3C#081C3C

#081C3C is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.1% C 0.067 H 259.4°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#081C3C
RGBrgb(8, 28, 60)
HSLhsl(217, 76%, 13%)
HSVhsv(217, 87%, 24%)
CMYKcmyk(86.7%, 53.3%, 0%, 76.5%)
CIE-LABlab(10.62, 5.78, -22.93)
CIE-LCHlch(10.62, 23.65, 284.14°)
OKLaboklab(23.13% -0.0123 -0.0658)
OKLCHoklch(23.13% 0.067 259.4)
XYZxyz(1.3307, 1.2082, 4.4372)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081C3C #3C2808
analogous
#08363C #081C3C #0E083C
triadic
#081C3C #3C081C #1C3C08
tetradic
#081C3C #3C0836 #3C2808 #083C0E
square
#081C3C #3C0836 #3C2808 #083C0E
split-complementary
#081C3C #3C0E08 #363C08
monochromatic
#040D1B #040D1B #081C3C #0F3572 #164EA8

Accessibility & contrast

On white

16.91
#081C3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#081C3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081C3C
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081C3C#FFFFFF#000000##FFFFFF
##081C3C1.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1F3D
Deuteranopia (green-blind)
#021A3B
Tritanopia (blue-blind)
#002429
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #081c3c;
/* rgb */ color: rgb(8, 28, 60);
/* oklch */ color: oklch(23.1% 0.067 259.4);
Tailwind
colors: {
  custom: {
    50: '#505772',
    500: '#081c3c',
    950: '#000000',
  },
}
SCSS
$custom: #081c3c;
$custom-light: #505772;
$custom-dark: #000000;
JSON
{
  "hex": "#081c3c",
  "rgb": {
    "r": 8,
    "g": 28,
    "b": 60
  },
  "hsl": {
    "h": 216.923,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23126,
    "c": 0.06692,
    "h": 259.4
  },
  "luminance": 0.01208
}

Semantic roles & 50–950 ramp

primary
#081C3C
secondary
#7B5A25
accent
#AA35F3
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020308
muted
#78787B

Preview Lab

Preview with #081C3C

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

Preview Lab → · Contrast checker → · Palette generator →

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