#04273B#04273B

#04273B is a dark, muted cyan. Relative luminance 0.018; OKLCH L 26.0% C 0.054 H 239.0°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#04273B
RGBrgb(4, 39, 59)
HSLhsl(202, 87%, 12%)
HSVhsv(202, 93%, 23%)
CMYKcmyk(93.2%, 33.9%, 0%, 76.9%)
CIE-LABlab(14.36, -3.66, -16.29)
CIE-LCHlch(14.36, 16.70, 257.35°)
OKLaboklab(25.99% -0.0278 -0.0462)
OKLCHoklch(25.99% 0.054 239)
XYZxyz(1.5647, 1.7924, 4.4003)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04273B #3B1804
analogous
#043B34 #04273B #040C3B
triadic
#04273B #3B0427 #273B04
tetradic
#04273B #34043B #3B1804 #0C3B04
square
#04273B #34043B #3B1804 #0C3B04
split-complementary
#04273B #3B040C #3B3404
monochromatic
#02131D #02131D #04273B #084D74 #0C73AE

Accessibility & contrast

On white

15.46
#04273B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04273B
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04273B#FFFFFF#000000##FFFFFF
##04273B1.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #04273b;
/* rgb */ color: rgb(4, 39, 59);
/* oklch */ color: oklch(26.0% 0.054 239.0);
Tailwind
colors: {
  custom: {
    50: '#4f6071',
    500: '#04273b',
    950: '#000000',
  },
}
SCSS
$custom: #04273b;
$custom-light: #4f6071;
$custom-dark: #000000;
JSON
{
  "hex": "#04273b",
  "rgb": {
    "r": 4,
    "g": 39,
    "b": 59
  },
  "hsl": {
    "h": 201.818,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.25985,
    "c": 0.05388,
    "h": 239
  },
  "luminance": 0.01793
}

Semantic roles & 50–950 ramp

primary
#04273B
secondary
#7D401E
accent
#772AFD
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020507
muted
#78797A

Preview Lab

Preview with #04273B

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

Preview Lab → · Contrast checker → · Palette generator →

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