#031027#031027

#031027 is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.6% C 0.052 H 258.5°. Best body text is #FFFFFF at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#031027
RGBrgb(3, 16, 39)
HSLhsl(218, 86%, 8%)
HSVhsv(218, 92%, 15%)
CMYKcmyk(92.3%, 59%, 0%, 84.7%)
CIE-LABlab(4.85, 3.24, -16.76)
CIE-LCHlch(4.85, 17.07, 280.94°)
OKLaboklab(17.64% -0.0103 -0.0508)
OKLCHoklch(17.64% 0.052 258.5)
XYZxyz(0.5889, 0.5364, 1.9916)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031027 #271A03
analogous
#032227 #031027 #080327
triadic
#031027 #270310 #102703
tetradic
#031027 #270322 #271A03 #032708
square
#031027 #270322 #271A03 #032708
split-complementary
#031027 #270803 #222703
monochromatic
#020C1C #020C1C #031027 #072760 #0C3F99

Accessibility & contrast

On white

18.97
#031027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#031027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031027
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031027#FFFFFF#000000##FFFFFF
##0310271.0018.971.1118.97
#FFFFFF18.971.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051228
Deuteranopia (green-blind)
#010F27
Tritanopia (blue-blind)
#001519
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #031027;
/* rgb */ color: rgb(3, 16, 39);
/* oklch */ color: oklch(17.6% 0.052 258.5);
Tailwind
colors: {
  custom: {
    50: '#484e61',
    500: '#031027',
    950: '#000000',
  },
}
SCSS
$custom: #031027;
$custom-light: #484e61;
$custom-dark: #000000;
JSON
{
  "hex": "#031027",
  "rgb": {
    "r": 3,
    "g": 16,
    "b": 39
  },
  "hsl": {
    "h": 218.333,
    "s": 85.714,
    "l": 8.235
  },
  "oklch": {
    "l": 0.17636,
    "c": 0.0518,
    "h": 258.5
  },
  "luminance": 0.00536
}

Semantic roles & 50–950 ramp

primary
#031027
secondary
#6B4E1B
accent
#B12CFC
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010105
muted
#777779

Preview Lab

Preview with #031027

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

Preview Lab → · Contrast checker → · Palette generator →

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