#042B3A#042B3A

#042B3A is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.1% C 0.050 H 229.0°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#042B3A
RGBrgb(4, 43, 58)
HSLhsl(197, 87%, 12%)
HSVhsv(197, 93%, 23%)
CMYKcmyk(93.1%, 25.9%, 0%, 77.3%)
CIE-LABlab(15.79, -6.86, -13.35)
CIE-LCHlch(15.79, 15.01, 242.80°)
OKLaboklab(27.11% -0.0327 -0.0376)
OKLCHoklch(27.11% 0.05 229)
XYZxyz(1.6774, 2.0588, 4.3112)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042B3A #3A1304
analogous
#043A2E #042B3A #04103A
triadic
#042B3A #3A042B #2B3A04
tetradic
#042B3A #2E043A #3A1304 #103A04
square
#042B3A #2E043A #3A1304 #103A04
split-complementary
#042B3A #3A0410 #3A2E04
monochromatic
#02151D #02151D #042B3A #085573 #0C80AD

Accessibility & contrast

On white

14.87
#042B3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#042B3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042B3A
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042B3A#FFFFFF#000000##FFFFFF
##042B3A1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232A3B
Deuteranopia (green-blind)
#1C253A
Tritanopia (blue-blind)
#002F30
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #042b3a;
/* rgb */ color: rgb(4, 43, 58);
/* oklch */ color: oklch(27.1% 0.050 229.0);
Tailwind
colors: {
  custom: {
    50: '#4f6470',
    500: '#042b3a',
    950: '#000000',
  },
}
SCSS
$custom: #042b3a;
$custom-light: #4f6470;
$custom-dark: #000000;
JSON
{
  "hex": "#042b3a",
  "rgb": {
    "r": 4,
    "g": 43,
    "b": 58
  },
  "hsl": {
    "h": 196.667,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.27111,
    "c": 0.04981,
    "h": 229
  },
  "luminance": 0.02059
}

Semantic roles & 50–950 ramp

primary
#042B3A
secondary
#7C381E
accent
#652BFD
background
#F4F5F6
surface
#E7EAEC
border
#C3C6C7
text
#020507
muted
#78797A

Preview Lab

Preview with #042B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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