#042641#042641

#042641 is a dark, moderate cyan. Relative luminance 0.018; OKLCH L 26.1% C 0.063 H 247.2°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#042641
RGBrgb(4, 38, 65)
HSLhsl(207, 88%, 14%)
HSVhsv(207, 94%, 25%)
CMYKcmyk(93.8%, 41.5%, 0%, 74.5%)
CIE-LABlab(14.36, -0.20, -20.47)
CIE-LCHlch(14.36, 20.47, 269.44°)
OKLaboklab(26.11% -0.0245 -0.0584)
OKLCHoklch(26.11% 0.063 247.2)
XYZxyz(1.6969, 1.7935, 5.2567)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042641 #411F04
analogous
#04413D #042641 #040841
triadic
#042641 #410426 #264104
tetradic
#042641 #3D0441 #411F04 #084104
square
#042641 #3D0441 #411F04 #084104
split-complementary
#042641 #410408 #413D04
monochromatic
#02111D #02111D #042641 #08487B #0B69B4

Accessibility & contrast

On white

15.45
#042641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#042641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042641
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042641#FFFFFF#000000##FFFFFF
##0426411.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192742
Deuteranopia (green-blind)
#102240
Tritanopia (blue-blind)
#002D30
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #042641;
/* rgb */ color: rgb(4, 38, 65);
/* oklch */ color: oklch(26.1% 0.063 247.2);
Tailwind
colors: {
  custom: {
    50: '#505f76',
    500: '#042641',
    950: '#000000',
  },
}
SCSS
$custom: #042641;
$custom-light: #505f76;
$custom-dark: #000000;
JSON
{
  "hex": "#042641",
  "rgb": {
    "r": 4,
    "g": 38,
    "b": 65
  },
  "hsl": {
    "h": 206.557,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.26112,
    "c": 0.06335,
    "h": 247.2
  },
  "luminance": 0.01794
}

Semantic roles & 50–950 ramp

primary
#042641
secondary
#824B1F
accent
#8829FF
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #042641

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

Preview Lab → · Contrast checker → · Palette generator →

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