#042F46#042F46

#042F46 is a dark, moderate cyan. Relative luminance 0.025; OKLCH L 29.0% C 0.061 H 238.3°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#042F46
RGBrgb(4, 47, 70)
HSLhsl(201, 89%, 15%)
HSVhsv(201, 94%, 27%)
CMYKcmyk(94.3%, 32.9%, 0%, 72.5%)
CIE-LABlab(17.92, -4.34, -18.30)
CIE-LCHlch(17.92, 18.80, 256.66°)
OKLaboklab(29.03% -0.032 -0.0519)
OKLCHoklch(29.03% 0.061 238.3)
XYZxyz(2.1716, 2.5008, 6.1614)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042F46 #461B04
analogous
#04463C #042F46 #040E46
triadic
#042F46 #46042F #2F4604
tetradic
#042F46 #3C0446 #461B04 #0E4604
square
#042F46 #3C0446 #461B04 #0E4604
split-complementary
#042F46 #46040E #463C04
monochromatic
#02131D #02131D #042F46 #075680 #0B7DBA

Accessibility & contrast

On white

14.00
#042F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#042F46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042F46
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042F46#FFFFFF#000000##FFFFFF
##042F461.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242F47
Deuteranopia (green-blind)
#1B2946
Tritanopia (blue-blind)
#003537
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #042f46;
/* rgb */ color: rgb(4, 47, 70);
/* oklch */ color: oklch(29.0% 0.061 238.3);
Tailwind
colors: {
  custom: {
    50: '#526779',
    500: '#042f46',
    950: '#000000',
  },
}
SCSS
$custom: #042f46;
$custom-light: #526779;
$custom-dark: #000000;
JSON
{
  "hex": "#042f46",
  "rgb": {
    "r": 4,
    "g": 47,
    "b": 70
  },
  "hsl": {
    "h": 200.909,
    "s": 89.189,
    "l": 14.51
  },
  "oklch": {
    "l": 0.29025,
    "c": 0.06097,
    "h": 238.3
  },
  "luminance": 0.02501
}

Semantic roles & 50–950 ramp

primary
#042F46
secondary
#87431F
accent
#7329FF
background
#F4F6F7
surface
#E8EBED
border
#C4C6C8
text
#030609
muted
#787A7B

Preview Lab

Preview with #042F46

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

Preview Lab → · Contrast checker → · Palette generator →

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