#031129#031129

#031129 is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.1% C 0.054 H 258.3°. Best body text is #FFFFFF at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#031129
RGBrgb(3, 17, 41)
HSLhsl(218, 86%, 9%)
HSVhsv(218, 93%, 16%)
CMYKcmyk(92.7%, 58.5%, 0%, 83.9%)
CIE-LABlab(5.24, 3.55, -17.65)
CIE-LCHlch(5.24, 18.00, 281.36°)
OKLaboklab(18.11% -0.0109 -0.0526)
OKLCHoklch(18.11% 0.054 258.3)
XYZxyz(0.6381, 0.5803, 2.1758)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031129 #291B03
analogous
#032429 #031129 #080329
triadic
#031129 #290311 #112903
tetradic
#031129 #290324 #291B03 #032908
square
#031129 #290324 #291B03 #032908
split-complementary
#031129 #290803 #242903
monochromatic
#020C1D #020C1D #031129 #072962 #0B409B

Accessibility & contrast

On white

18.82
#031129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#031129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031129
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031129#FFFFFF#000000##FFFFFF
##0311291.0018.821.1218.82
#FFFFFF18.821.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05132A
Deuteranopia (green-blind)
#001029
Tritanopia (blue-blind)
#00171A
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #031129;
/* rgb */ color: rgb(3, 17, 41);
/* oklch */ color: oklch(18.1% 0.054 258.3);
Tailwind
colors: {
  custom: {
    50: '#494f63',
    500: '#031129',
    950: '#000000',
  },
}
SCSS
$custom: #031129;
$custom-light: #494f63;
$custom-dark: #000000;
JSON
{
  "hex": "#031129",
  "rgb": {
    "r": 3,
    "g": 17,
    "b": 41
  },
  "hsl": {
    "h": 217.895,
    "s": 86.364,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18105,
    "c": 0.05376,
    "h": 258.3
  },
  "luminance": 0.0058
}

Semantic roles & 50–950 ramp

primary
#031129
secondary
#6D4F1B
accent
#AF2BFD
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #031129

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

Preview Lab → · Contrast checker → · Palette generator →

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