#04262C#04262C

#04262C is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.8% C 0.039 H 211.8°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#04262C
RGBrgb(4, 38, 44)
HSLhsl(189, 83%, 9%)
HSVhsv(189, 91%, 17%)
CMYKcmyk(90.9%, 13.6%, 0%, 82.7%)
CIE-LABlab(13.19, -9.48, -7.46)
CIE-LCHlch(13.19, 12.06, 218.21°)
OKLaboklab(24.79% -0.0335 -0.0208)
OKLCHoklch(24.79% 0.039 211.8)
XYZxyz(1.1976, 1.5937, 2.6269)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04262C #2C0A04
analogous
#042C1E #04262C #04122C
triadic
#04262C #2C0426 #262C04
tetradic
#04262C #1E042C #2C0A04 #122C04
square
#04262C #1E042C #2C0A04 #122C04
split-complementary
#04262C #2C0412 #2C1E04
monochromatic
#03181C #03181C #04262C #095664 #0E879C

Accessibility & contrast

On white

15.92
#04262C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04262C
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04262C#FFFFFF#000000##FFFFFF
##04262C1.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21242C
Deuteranopia (green-blind)
#1C202C
Tritanopia (blue-blind)
#002828
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #04262c;
/* rgb */ color: rgb(4, 38, 44);
/* oklch */ color: oklch(24.8% 0.039 211.8);
Tailwind
colors: {
  custom: {
    50: '#4b6065',
    500: '#04262c',
    950: '#000000',
  },
}
SCSS
$custom: #04262c;
$custom-light: #4b6065;
$custom-dark: #000000;
JSON
{
  "hex": "#04262c",
  "rgb": {
    "r": 4,
    "g": 38,
    "b": 44
  },
  "hsl": {
    "h": 189,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.24793,
    "c": 0.03945,
    "h": 211.8
  },
  "luminance": 0.01594
}

Semantic roles & 50–950 ramp

primary
#04262C
secondary
#6F291D
accent
#4D2EFA
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010405
muted
#77797A

Preview Lab

Preview with #04262C

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

Preview Lab → · Contrast checker → · Palette generator →

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