#04262F#04262F

#04262F is a very dark, muted cyan. Relative luminance 0.016; OKLCH L 25.0% C 0.041 H 219.4°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#04262F
RGBrgb(4, 38, 47)
HSLhsl(193, 84%, 10%)
HSVhsv(193, 91%, 18%)
CMYKcmyk(91.5%, 19.1%, 0%, 81.6%)
CIE-LABlab(13.33, -8.23, -9.39)
CIE-LCHlch(13.33, 12.48, 228.78°)
OKLaboklab(24.96% -0.032 -0.0263)
OKLCHoklch(24.96% 0.041 219.4)
XYZxyz(1.2561, 1.6171, 2.9347)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04262F #2F0D04
analogous
#042F22 #04262F #04112F
triadic
#04262F #2F0426 #262F04
tetradic
#04262F #22042F #2F0D04 #112F04
square
#04262F #22042F #2F0D04 #112F04
split-complementary
#04262F #2F0411 #2F2204
monochromatic
#02171C #02171C #04262F #095467 #0E81A0

Accessibility & contrast

On white

15.87
#04262F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#04262F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04262F
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04262F#FFFFFF#000000##FFFFFF
##04262F1.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20252F
Deuteranopia (green-blind)
#1B202F
Tritanopia (blue-blind)
#002929
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #04262f;
/* rgb */ color: rgb(4, 38, 47);
/* oklch */ color: oklch(25.0% 0.041 219.4);
Tailwind
colors: {
  custom: {
    50: '#4c6067',
    500: '#04262f',
    950: '#000000',
  },
}
SCSS
$custom: #04262f;
$custom-light: #4c6067;
$custom-dark: #000000;
JSON
{
  "hex": "#04262f",
  "rgb": {
    "r": 4,
    "g": 38,
    "b": 47
  },
  "hsl": {
    "h": 192.558,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.24955,
    "c": 0.04139,
    "h": 219.4
  },
  "luminance": 0.01617
}

Semantic roles & 50–950 ramp

primary
#04262F
secondary
#722F1D
accent
#582DFB
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010406
muted
#77797A

Preview Lab

Preview with #04262F

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

Preview Lab → · Contrast checker → · Palette generator →

#04262F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva