#042830#042830

#042830 is a dark, muted cyan. Relative luminance 0.018; OKLCH L 25.6% C 0.042 H 216.1°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#042830
RGBrgb(4, 40, 48)
HSLhsl(191, 85%, 10%)
HSVhsv(191, 92%, 19%)
CMYKcmyk(91.7%, 16.7%, 0%, 81.2%)
CIE-LABlab(14.15, -9.12, -8.84)
CIE-LCHlch(14.15, 12.71, 224.11°)
OKLaboklab(25.63% -0.0339 -0.0247)
OKLCHoklch(25.63% 0.042 216.1)
XYZxyz(1.3421, 1.7566, 3.0641)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042830 #300C04
analogous
#043022 #042830 #041230
triadic
#042830 #300428 #283004
tetradic
#042830 #220430 #300C04 #123004
square
#042830 #220430 #300C04 #123004
split-complementary
#042830 #300412 #302204
monochromatic
#02181C #02181C #042830 #095768 #0D86A1

Accessibility & contrast

On white

15.54
#042830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#042830 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042830
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042830#FFFFFF#000000##FFFFFF
##0428301.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232630
Deuteranopia (green-blind)
#1D2230
Tritanopia (blue-blind)
#002B2B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #042830;
/* rgb */ color: rgb(4, 40, 48);
/* oklch */ color: oklch(25.6% 0.042 216.1);
Tailwind
colors: {
  custom: {
    50: '#4c6268',
    500: '#042830',
    950: '#000000',
  },
}
SCSS
$custom: #042830;
$custom-light: #4c6268;
$custom-dark: #000000;
JSON
{
  "hex": "#042830",
  "rgb": {
    "r": 4,
    "g": 40,
    "b": 48
  },
  "hsl": {
    "h": 190.909,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.25631,
    "c": 0.04197,
    "h": 216.1
  },
  "luminance": 0.01757
}

Semantic roles & 50–950 ramp

primary
#042830
secondary
#722D1D
accent
#522DFB
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#010506
muted
#77797A

Preview Lab

Preview with #042830

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

Preview Lab → · Contrast checker → · Palette generator →

#042830 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva