#042E46#042E46

#042E46 is a dark, moderate cyan. Relative luminance 0.024; OKLCH L 28.7% C 0.062 H 239.9°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#042E46
RGBrgb(4, 46, 70)
HSLhsl(202, 89%, 15%)
HSVhsv(202, 94%, 27%)
CMYKcmyk(94.3%, 34.3%, 0%, 72.5%)
CIE-LABlab(17.56, -3.65, -18.87)
CIE-LCHlch(17.56, 19.21, 259.06°)
OKLaboklab(28.74% -0.031 -0.0535)
OKLCHoklch(28.74% 0.062 239.9)
XYZxyz(2.1321, 2.4217, 6.1482)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042E46 #461C04
analogous
#04463D #042E46 #040D46
triadic
#042E46 #46042E #2E4604
tetradic
#042E46 #3D0446 #461C04 #0D4604
square
#042E46 #3D0446 #461C04 #0D4604
split-complementary
#042E46 #46040D #463D04
monochromatic
#02131D #02131D #042E46 #075480 #0B7ABA

Accessibility & contrast

On white

14.15
#042E46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#042E46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042E46
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042E46#FFFFFF#000000##FFFFFF
##042E461.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222E47
Deuteranopia (green-blind)
#192846
Tritanopia (blue-blind)
#003436
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #042e46;
/* rgb */ color: rgb(4, 46, 70);
/* oklch */ color: oklch(28.7% 0.062 239.9);
Tailwind
colors: {
  custom: {
    50: '#526679',
    500: '#042e46',
    950: '#000000',
  },
}
SCSS
$custom: #042e46;
$custom-light: #526679;
$custom-dark: #000000;
JSON
{
  "hex": "#042e46",
  "rgb": {
    "r": 4,
    "g": 46,
    "b": 70
  },
  "hsl": {
    "h": 201.818,
    "s": 89.189,
    "l": 14.51
  },
  "oklch": {
    "l": 0.28739,
    "c": 0.06187,
    "h": 239.9
  },
  "luminance": 0.02422
}

Semantic roles & 50–950 ramp

primary
#042E46
secondary
#87451F
accent
#7729FF
background
#F4F6F7
surface
#E8EBED
border
#C4C6C8
text
#030509
muted
#787A7B

Preview Lab

Preview with #042E46

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

Preview Lab → · Contrast checker → · Palette generator →

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