#043840#043840

#043840 is a dark, muted teal. Relative luminance 0.032; OKLCH L 31.3% C 0.052 H 210.9°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#043840
RGBrgb(4, 56, 64)
HSLhsl(188, 88%, 13%)
HSVhsv(188, 94%, 25%)
CMYKcmyk(93.8%, 12.5%, 0%, 74.9%)
CIE-LABlab(20.92, -12.67, -9.58)
CIE-LCHlch(20.92, 15.88, 217.10°)
OKLaboklab(31.33% -0.0446 -0.0267)
OKLCHoklch(31.33% 0.052 210.9)
XYZxyz(2.3892, 3.2240, 5.3459)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#043840 #400C04
analogous
#04402A #043840 #041A40
triadic
#043840 #400438 #384004
tetradic
#043840 #2A0440 #400C04 #1A4004
square
#043840 #2A0440 #400C04 #1A4004
split-complementary
#043840 #40041A #402A04
monochromatic
#02191D #02191D #043840 #086A7A #0B9DB3

Accessibility & contrast

On white

12.77
#043840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#043840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #043840
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##043840#FFFFFF#000000##FFFFFF
##0438401.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323640
Deuteranopia (green-blind)
#2A3040
Tritanopia (blue-blind)
#003B3A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #043840;
/* rgb */ color: rgb(4, 56, 64);
/* oklch */ color: oklch(31.3% 0.052 210.9);
Tailwind
colors: {
  custom: {
    50: '#526e74',
    500: '#043840',
    950: '#000000',
  },
}
SCSS
$custom: #043840;
$custom-light: #526e74;
$custom-dark: #000000;
JSON
{
  "hex": "#043840",
  "rgb": {
    "r": 4,
    "g": 56,
    "b": 64
  },
  "hsl": {
    "h": 188,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.3133,
    "c": 0.05204,
    "h": 210.9
  },
  "luminance": 0.03224
}

Semantic roles & 50–950 ramp

primary
#043840
secondary
#812C1F
accent
#4629FE
background
#F4F6F7
surface
#E7ECED
border
#C3C7C8
text
#030708
muted
#787A7B

Preview Lab

Preview with #043840

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

Preview Lab → · Contrast checker → · Palette generator →

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