#042B3F#042B3F

#042B3F is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.4% C 0.056 H 236.7°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#042B3F
RGBrgb(4, 43, 63)
HSLhsl(200, 88%, 13%)
HSVhsv(200, 94%, 25%)
CMYKcmyk(93.7%, 31.7%, 0%, 75.3%)
CIE-LABlab(16.07, -4.67, -16.40)
CIE-LCHlch(16.07, 17.05, 254.10°)
OKLaboklab(27.42% -0.0305 -0.0464)
OKLCHoklch(27.42% 0.056 236.7)
XYZxyz(1.8108, 2.1122, 5.0139)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042B3F #3F1804
analogous
#043F35 #042B3F #040D3F
triadic
#042B3F #3F042B #2B3F04
tetradic
#042B3F #35043F #3F1804 #0D3F04
square
#042B3F #35043F #3F1804 #0D3F04
split-complementary
#042B3F #3F040D #3F3504
monochromatic
#02141D #02141D #042B3F #085279 #0B7AB2

Accessibility & contrast

On white

14.76
#042B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#042B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042B3F
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042B3F#FFFFFF#000000##FFFFFF
##042B3F1.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212B40
Deuteranopia (green-blind)
#19263F
Tritanopia (blue-blind)
#003032
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #042b3f;
/* rgb */ color: rgb(4, 43, 63);
/* oklch */ color: oklch(27.4% 0.056 236.7);
Tailwind
colors: {
  custom: {
    50: '#506474',
    500: '#042b3f',
    950: '#000000',
  },
}
SCSS
$custom: #042b3f;
$custom-light: #506474;
$custom-dark: #000000;
JSON
{
  "hex": "#042b3f",
  "rgb": {
    "r": 4,
    "g": 43,
    "b": 63
  },
  "hsl": {
    "h": 200.339,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.27418,
    "c": 0.05557,
    "h": 236.7
  },
  "luminance": 0.02112
}

Semantic roles & 50–950 ramp

primary
#042B3F
secondary
#80401E
accent
#722AFE
background
#F4F5F7
surface
#E7EAED
border
#C3C6C8
text
#020508
muted
#78797B

Preview Lab

Preview with #042B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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