#04273A#04273A

#04273A is a dark, muted cyan. Relative luminance 0.018; OKLCH L 25.9% C 0.053 H 237.6°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#04273A
RGBrgb(4, 39, 58)
HSLhsl(201, 87%, 12%)
HSVhsv(201, 93%, 23%)
CMYKcmyk(93.1%, 32.8%, 0%, 77.3%)
CIE-LABlab(14.30, -4.11, -15.68)
CIE-LCHlch(14.30, 16.21, 255.32°)
OKLaboklab(25.92% -0.0282 -0.0444)
OKLCHoklch(25.92% 0.053 237.6)
XYZxyz(1.5390, 1.7821, 4.2650)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04273A #3A1704
analogous
#043A32 #04273A #040C3A
triadic
#04273A #3A0427 #273A04
tetradic
#04273A #32043A #3A1704 #0C3A04
square
#04273A #32043A #3A1704 #0C3A04
split-complementary
#04273A #3A040C #3A3204
monochromatic
#02131D #02131D #04273A #084D73 #0C74AD

Accessibility & contrast

On white

15.48
#04273A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#04273A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04273A
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04273A#FFFFFF#000000##FFFFFF
##04273A1.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E273B
Deuteranopia (green-blind)
#16223A
Tritanopia (blue-blind)
#002C2E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #04273a;
/* rgb */ color: rgb(4, 39, 58);
/* oklch */ color: oklch(25.9% 0.053 237.6);
Tailwind
colors: {
  custom: {
    50: '#4e6070',
    500: '#04273a',
    950: '#000000',
  },
}
SCSS
$custom: #04273a;
$custom-light: #4e6070;
$custom-dark: #000000;
JSON
{
  "hex": "#04273a",
  "rgb": {
    "r": 4,
    "g": 39,
    "b": 58
  },
  "hsl": {
    "h": 201.111,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2592,
    "c": 0.05258,
    "h": 237.6
  },
  "luminance": 0.01782
}

Semantic roles & 50–950 ramp

primary
#04273A
secondary
#7C3F1E
accent
#752BFD
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020507
muted
#78797A

Preview Lab

Preview with #04273A

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

Preview Lab → · Contrast checker → · Palette generator →

#04273A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva