#04252F#04252F

#04252F is a very dark, muted cyan. Relative luminance 0.016; OKLCH L 24.6% C 0.042 H 222.3°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#04252F
RGBrgb(4, 37, 47)
HSLhsl(194, 84%, 10%)
HSVhsv(194, 91%, 18%)
CMYKcmyk(91.5%, 21.3%, 0%, 81.6%)
CIE-LABlab(12.95, -7.56, -9.98)
CIE-LCHlch(12.95, 12.52, 232.87°)
OKLaboklab(24.64% -0.0308 -0.028)
OKLCHoklch(24.64% 0.042 222.3)
XYZxyz(1.2245, 1.5540, 2.9242)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04252F #2F0E04
analogous
#042F23 #04252F #04102F
triadic
#04252F #2F0425 #252F04
tetradic
#04252F #23042F #2F0E04 #102F04
square
#04252F #23042F #2F0E04 #102F04
split-complementary
#04252F #2F0410 #2F2304
monochromatic
#02161C #02161C #04252F #095167 #0E7EA0

Accessibility & contrast

On white

16.02
#04252F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#04252F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04252F
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04252F#FFFFFF#000000##FFFFFF
##04252F1.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2430
Deuteranopia (green-blind)
#19202F
Tritanopia (blue-blind)
#002828
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #04252f;
/* rgb */ color: rgb(4, 37, 47);
/* oklch */ color: oklch(24.6% 0.042 222.3);
Tailwind
colors: {
  custom: {
    50: '#4c5f67',
    500: '#04252f',
    950: '#000000',
  },
}
SCSS
$custom: #04252f;
$custom-light: #4c5f67;
$custom-dark: #000000;
JSON
{
  "hex": "#04252f",
  "rgb": {
    "r": 4,
    "g": 37,
    "b": 47
  },
  "hsl": {
    "h": 193.953,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.24644,
    "c": 0.04158,
    "h": 222.3
  },
  "luminance": 0.01554
}

Semantic roles & 50–950 ramp

primary
#04252F
secondary
#72311D
accent
#5D2DFB
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010406
muted
#77797A

Preview Lab

Preview with #04252F

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

Preview Lab → · Contrast checker → · Palette generator →

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