#04272E#04272E

#04272E is a dark, muted cyan. Relative luminance 0.017; OKLCH L 25.2% C 0.041 H 214.0°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#04272E
RGBrgb(4, 39, 46)
HSLhsl(190, 84%, 10%)
HSVhsv(190, 91%, 18%)
CMYKcmyk(91.3%, 15.2%, 0%, 82%)
CIE-LABlab(13.67, -9.30, -8.15)
CIE-LCHlch(13.67, 12.37, 221.23°)
OKLaboklab(25.21% -0.0337 -0.0227)
OKLCHoklch(25.21% 0.041 214)
XYZxyz(1.2685, 1.6740, 2.8405)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04272E #2E0B04
analogous
#042E20 #04272E #04122E
triadic
#04272E #2E0427 #272E04
tetradic
#04272E #20042E #2E0B04 #122E04
square
#04272E #20042E #2E0B04 #122E04
split-complementary
#04272E #2E0412 #2E2004
monochromatic
#02181C #02181C #04272E #095766 #0E869F

Accessibility & contrast

On white

15.73
#04272E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04272E
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04272E#FFFFFF#000000##FFFFFF
##04272E1.0015.731.3315.73
#FFFFFF15.731.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22252E
Deuteranopia (green-blind)
#1C212E
Tritanopia (blue-blind)
#002A29
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #04272e;
/* rgb */ color: rgb(4, 39, 46);
/* oklch */ color: oklch(25.2% 0.041 214.0);
Tailwind
colors: {
  custom: {
    50: '#4c6166',
    500: '#04272e',
    950: '#000000',
  },
}
SCSS
$custom: #04272e;
$custom-light: #4c6166;
$custom-dark: #000000;
JSON
{
  "hex": "#04272e",
  "rgb": {
    "r": 4,
    "g": 39,
    "b": 46
  },
  "hsl": {
    "h": 190,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.25212,
    "c": 0.04069,
    "h": 214
  },
  "luminance": 0.01674
}

Semantic roles & 50–950 ramp

primary
#04272E
secondary
#712B1D
accent
#502EFA
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010506
muted
#77797A

Preview Lab

Preview with #04272E

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

Preview Lab → · Contrast checker → · Palette generator →

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