#03181C#03181C

#03181C is a very dark, muted teal. Relative luminance 0.008; OKLCH L 19.4% C 0.029 H 211.2°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#03181C
RGBrgb(3, 24, 28)
HSLhsl(190, 81%, 6%)
HSVhsv(190, 89%, 11%)
CMYKcmyk(89.3%, 14.3%, 0%, 89%)
CIE-LABlab(6.83, -5.95, -5.32)
CIE-LCHlch(6.83, 7.98, 221.78°)
OKLaboklab(19.35% -0.0249 -0.0151)
OKLCHoklch(19.35% 0.029 211.2)
XYZxyz(0.5737, 0.7564, 1.2141)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03181C #1C0703
analogous
#031C13 #03181C #030B1C
triadic
#03181C #1C0318 #181C03
tetradic
#03181C #13031C #1C0703 #0B1C03
square
#03181C #13031C #1C0703 #0B1C03
split-complementary
#03181C #1C030B #1C1303
monochromatic
#03181C #03181C #03181C #094753 #0F778B

Accessibility & contrast

On white

18.24
#03181C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#03181C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03181C
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03181C#FFFFFF#000000##FFFFFF
##03181C1.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15171C
Deuteranopia (green-blind)
#11141C
Tritanopia (blue-blind)
#001A19
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #03181c;
/* rgb */ color: rgb(3, 24, 28);
/* oklch */ color: oklch(19.4% 0.029 211.2);
Tailwind
colors: {
  custom: {
    50: '#475458',
    500: '#03181c',
    950: '#000000',
  },
}
SCSS
$custom: #03181c;
$custom-light: #475458;
$custom-dark: #000000;
JSON
{
  "hex": "#03181c",
  "rgb": {
    "r": 3,
    "g": 24,
    "b": 28
  },
  "hsl": {
    "h": 189.6,
    "s": 80.645,
    "l": 6.078
  },
  "oklch": {
    "l": 0.19352,
    "c": 0.02908,
    "h": 211.2
  },
  "luminance": 0.00756
}

Semantic roles & 50–950 ramp

primary
#03181C
secondary
#60261B
accent
#5031F7
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #03181C

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

Preview Lab → · Contrast checker → · Palette generator →

#03181C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva