#042741#042741

#042741 is a dark, moderate cyan. Relative luminance 0.019; OKLCH L 26.4% C 0.062 H 245.7°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#042741
RGBrgb(4, 39, 65)
HSLhsl(206, 88%, 14%)
HSVhsv(206, 94%, 25%)
CMYKcmyk(93.8%, 40%, 0%, 74.5%)
CIE-LABlab(14.73, -0.93, -19.90)
CIE-LCHlch(14.73, 19.92, 267.33°)
OKLaboklab(26.4% -0.0256 -0.0567)
OKLCHoklch(26.4% 0.062 245.7)
XYZxyz(1.7294, 1.8583, 5.2675)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042741 #411E04
analogous
#04413C #042741 #040841
triadic
#042741 #410427 #274104
tetradic
#042741 #3C0441 #411E04 #084104
square
#042741 #3C0441 #411E04 #084104
split-complementary
#042741 #410408 #413C04
monochromatic
#02111D #02111D #042741 #084A7B #0B6CB4

Accessibility & contrast

On white

15.31
#042741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#042741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042741
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042741#FFFFFF#000000##FFFFFF
##0427411.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2842
Deuteranopia (green-blind)
#122341
Tritanopia (blue-blind)
#002D30
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #042741;
/* rgb */ color: rgb(4, 39, 65);
/* oklch */ color: oklch(26.4% 0.062 245.7);
Tailwind
colors: {
  custom: {
    50: '#506076',
    500: '#042741',
    950: '#000000',
  },
}
SCSS
$custom: #042741;
$custom-light: #506076;
$custom-dark: #000000;
JSON
{
  "hex": "#042741",
  "rgb": {
    "r": 4,
    "g": 39,
    "b": 65
  },
  "hsl": {
    "h": 205.574,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.26396,
    "c": 0.06219,
    "h": 245.7
  },
  "luminance": 0.01859
}

Semantic roles & 50–950 ramp

primary
#042741
secondary
#82491F
accent
#8429FF
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020508
muted
#78797B

Preview Lab

Preview with #042741

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

Preview Lab → · Contrast checker → · Palette generator →

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