#031A28#031A28

#031A28 is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.7% C 0.041 H 238.1°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#031A28
RGBrgb(3, 26, 40)
HSLhsl(203, 86%, 8%)
HSVhsv(203, 93%, 16%)
CMYKcmyk(92.5%, 35%, 0%, 84.3%)
CIE-LABlab(8.23, -3.12, -12.21)
CIE-LCHlch(8.23, 12.60, 255.67°)
OKLaboklab(20.73% -0.0215 -0.0345)
OKLCHoklch(20.73% 0.041 238.1)
XYZxyz(0.7898, 0.9113, 2.1413)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031A28 #281103
analogous
#032823 #031A28 #030728
triadic
#031A28 #28031A #1A2803
tetradic
#031A28 #230328 #281103 #072803
square
#031A28 #230328 #281103 #072803
split-complementary
#031A28 #280307 #282303
monochromatic
#02131C #02131C #031A28 #073F61 #0C649A

Accessibility & contrast

On white

17.76
#031A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#031A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031A28
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031A28#FFFFFF#000000##FFFFFF
##031A281.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131A29
Deuteranopia (green-blind)
#0E1628
Tritanopia (blue-blind)
#001E1F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #031a28;
/* rgb */ color: rgb(3, 26, 40);
/* oklch */ color: oklch(20.7% 0.041 238.1);
Tailwind
colors: {
  custom: {
    50: '#485662',
    500: '#031a28',
    950: '#000000',
  },
}
SCSS
$custom: #031a28;
$custom-light: #485662;
$custom-dark: #000000;
JSON
{
  "hex": "#031a28",
  "rgb": {
    "r": 3,
    "g": 26,
    "b": 40
  },
  "hsl": {
    "h": 202.703,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.20734,
    "c": 0.04068,
    "h": 238.1
  },
  "luminance": 0.00911
}

Semantic roles & 50–950 ramp

primary
#031A28
secondary
#6C3A1B
accent
#7B2CFC
background
#F4F5F5
surface
#E7E8EA
border
#C3C4C6
text
#010305
muted
#777879

Preview Lab

Preview with #031A28

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

Preview Lab → · Contrast checker → · Palette generator →

#031A28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva