#04272C#04272C

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

Color values

HEX#04272C
RGBrgb(4, 39, 44)
HSLhsl(188, 83%, 9%)
HSVhsv(188, 91%, 17%)
CMYKcmyk(90.9%, 11.4%, 0%, 82.7%)
CIE-LABlab(13.58, -10.12, -6.87)
CIE-LCHlch(13.58, 12.23, 214.15°)
OKLaboklab(25.11% -0.0348 -0.0191)
OKLCHoklch(25.11% 0.04 208.8)
XYZxyz(1.2300, 1.6585, 2.6377)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04272C #2C0904
analogous
#042C1D #04272C #04132C
triadic
#04272C #2C0427 #272C04
tetradic
#04272C #1D042C #2C0904 #132C04
square
#04272C #1D042C #2C0904 #132C04
split-complementary
#04272C #2C0413 #2C1D04
monochromatic
#03191C #03191C #04272C #095964 #0E8A9C

Accessibility & contrast

On white

15.77
#04272C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04272C
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04272C#FFFFFF#000000##FFFFFF
##04272C1.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22252C
Deuteranopia (green-blind)
#1D212C
Tritanopia (blue-blind)
#002928
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #04272c;
/* rgb */ color: rgb(4, 39, 44);
/* oklch */ color: oklch(25.1% 0.040 208.8);
Tailwind
colors: {
  custom: {
    50: '#4b6165',
    500: '#04272c',
    950: '#000000',
  },
}
SCSS
$custom: #04272c;
$custom-light: #4b6165;
$custom-dark: #000000;
JSON
{
  "hex": "#04272c",
  "rgb": {
    "r": 4,
    "g": 39,
    "b": 44
  },
  "hsl": {
    "h": 187.5,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25108,
    "c": 0.03968,
    "h": 208.8
  },
  "luminance": 0.01659
}

Semantic roles & 50–950 ramp

primary
#04272C
secondary
#6F271D
accent
#482EFA
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010505
muted
#77797A

Preview Lab

Preview with #04272C

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

Preview Lab → · Contrast checker → · Palette generator →

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