#04272B#04272B

#04272B is a dark, muted teal. Relative luminance 0.017; OKLCH L 25.1% C 0.039 H 206.1°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#04272B
RGBrgb(4, 39, 43)
HSLhsl(186, 83%, 9%)
HSVhsv(186, 91%, 17%)
CMYKcmyk(90.7%, 9.3%, 0%, 83.1%)
CIE-LABlab(13.54, -10.53, -6.22)
CIE-LCHlch(13.54, 12.22, 210.57°)
OKLaboklab(25.06% -0.0353 -0.0173)
OKLCHoklch(25.06% 0.039 206.1)
XYZxyz(1.2114, 1.6511, 2.5399)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04272B #2B0804
analogous
#042B1C #04272B #04142B
triadic
#04272B #2B0427 #272B04
tetradic
#04272B #1C042B #2B0804 #142B04
square
#04272B #1C042B #2B0804 #142B04
split-complementary
#04272B #2B0414 #2B1C04
monochromatic
#03191C #03191C #04272B #095A63 #0E8D9B

Accessibility & contrast

On white

15.79
#04272B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#04272B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04272B
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04272B#FFFFFF#000000##FFFFFF
##04272B1.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23252B
Deuteranopia (green-blind)
#1D212B
Tritanopia (blue-blind)
#002928
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #04272b;
/* rgb */ color: rgb(4, 39, 43);
/* oklch */ color: oklch(25.1% 0.039 206.1);
Tailwind
colors: {
  custom: {
    50: '#4b6164',
    500: '#04272b',
    950: '#000000',
  },
}
SCSS
$custom: #04272b;
$custom-light: #4b6164;
$custom-dark: #000000;
JSON
{
  "hex": "#04272b",
  "rgb": {
    "r": 4,
    "g": 39,
    "b": 43
  },
  "hsl": {
    "h": 186.154,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25058,
    "c": 0.03932,
    "h": 206.1
  },
  "luminance": 0.01651
}

Semantic roles & 50–950 ramp

primary
#04272B
secondary
#6E251D
accent
#432EF9
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#010505
muted
#777979

Preview Lab

Preview with #04272B

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

Preview Lab → · Contrast checker → · Palette generator →

#04272B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva