#031028#031028

#031028 is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.7% C 0.054 H 259.2°. Best body text is #FFFFFF at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#031028
RGBrgb(3, 16, 40)
HSLhsl(219, 86%, 8%)
HSVhsv(219, 93%, 16%)
CMYKcmyk(92.5%, 60%, 0%, 84.3%)
CIE-LABlab(4.91, 3.67, -17.42)
CIE-LCHlch(4.91, 17.80, 281.89°)
OKLaboklab(17.73% -0.0101 -0.0526)
OKLCHoklch(17.73% 0.054 259.2)
XYZxyz(0.6057, 0.5431, 2.0800)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031028 #281B03
analogous
#032228 #031028 #080328
triadic
#031028 #280310 #102803
tetradic
#031028 #280322 #281B03 #032808
square
#031028 #280322 #281B03 #032808
split-complementary
#031028 #280803 #222803
monochromatic
#020B1C #020B1C #031028 #072761 #0C3E9A

Accessibility & contrast

On white

18.94
#031028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031028
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031028#FFFFFF#000000##FFFFFF
##0310281.0018.941.1118.94
#FFFFFF18.941.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041329
Deuteranopia (green-blind)
#000F28
Tritanopia (blue-blind)
#00161A
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #031028;
/* rgb */ color: rgb(3, 16, 40);
/* oklch */ color: oklch(17.7% 0.054 259.2);
Tailwind
colors: {
  custom: {
    50: '#484e62',
    500: '#031028',
    950: '#000000',
  },
}
SCSS
$custom: #031028;
$custom-light: #484e62;
$custom-dark: #000000;
JSON
{
  "hex": "#031028",
  "rgb": {
    "r": 3,
    "g": 16,
    "b": 40
  },
  "hsl": {
    "h": 218.919,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.17728,
    "c": 0.05356,
    "h": 259.2
  },
  "luminance": 0.00543
}

Semantic roles & 50–950 ramp

primary
#031028
secondary
#6C4F1B
accent
#B32CFC
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #031028

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

Preview Lab → · Contrast checker → · Palette generator →

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