#042A30#042A30

#042A30 is a dark, muted teal. Relative luminance 0.019; OKLCH L 26.3% C 0.042 H 210.4°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#042A30
RGBrgb(4, 42, 48)
HSLhsl(188, 85%, 10%)
HSVhsv(188, 92%, 19%)
CMYKcmyk(91.7%, 12.5%, 0%, 81.2%)
CIE-LABlab(14.93, -10.41, -7.66)
CIE-LCHlch(14.93, 12.93, 216.37°)
OKLaboklab(26.25% -0.0364 -0.0214)
OKLCHoklch(26.25% 0.042 210.4)
XYZxyz(1.4113, 1.8950, 3.0871)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042A30 #300A04
analogous
#043020 #042A30 #041430
triadic
#042A30 #30042A #2A3004
tetradic
#042A30 #200430 #300A04 #143004
square
#042A30 #200430 #300A04 #143004
split-complementary
#042A30 #300414 #302004
monochromatic
#02191C #02191C #042A30 #095B68 #0D8DA1

Accessibility & contrast

On white

15.23
#042A30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#042A30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042A30
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042A30#FFFFFF#000000##FFFFFF
##042A301.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252830
Deuteranopia (green-blind)
#1F2430
Tritanopia (blue-blind)
#002D2C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #042a30;
/* rgb */ color: rgb(4, 42, 48);
/* oklch */ color: oklch(26.3% 0.042 210.4);
Tailwind
colors: {
  custom: {
    50: '#4d6368',
    500: '#042a30',
    950: '#000000',
  },
}
SCSS
$custom: #042a30;
$custom-light: #4d6368;
$custom-dark: #000000;
JSON
{
  "hex": "#042a30",
  "rgb": {
    "r": 4,
    "g": 42,
    "b": 48
  },
  "hsl": {
    "h": 188.182,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26253,
    "c": 0.04218,
    "h": 210.4
  },
  "luminance": 0.01895
}

Semantic roles & 50–950 ramp

primary
#042A30
secondary
#72291D
accent
#492DFB
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#010506
muted
#77797A

Preview Lab

Preview with #042A30

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

Preview Lab → · Contrast checker → · Palette generator →

#042A30 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva