#064138#064138

#064138 is a dark, muted teal. Relative luminance 0.041; OKLCH L 33.8% C 0.058 H 179.3°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#064138
RGBrgb(6, 65, 56)
HSLhsl(171, 83%, 14%)
HSVhsv(171, 91%, 25%)
CMYKcmyk(90.8%, 0%, 13.8%, 74.5%)
CIE-LABlab(24.01, -20.31, 0.40)
CIE-LCHlch(24.01, 20.32, 178.87°)
OKLaboklab(33.76% -0.0585 0.0007)
OKLCHoklch(33.76% 0.058 179.3)
XYZxyz(2.6788, 4.1045, 4.3917)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#064138 #41060F
analogous
#06411B #064138 #062D41
triadic
#064138 #380641 #413806
tetradic
#064138 #1B0641 #41060F #2D4106
square
#064138 #1B0641 #41060F #2D4106
split-complementary
#064138 #41062D #411B06
monochromatic
#031C18 #031C18 #064138 #0B7968 #10B199

Accessibility & contrast

On white

11.53
#064138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#064138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #064138
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##064138#FFFFFF#000000##FFFFFF
##0641381.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3C38
Deuteranopia (green-blind)
#363739
Tritanopia (blue-blind)
#00423E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #064138;
/* rgb */ color: rgb(6, 65, 56);
/* oklch */ color: oklch(33.8% 0.058 179.3);
Tailwind
colors: {
  custom: {
    50: '#53766e',
    500: '#064138',
    950: '#000000',
  },
}
SCSS
$custom: #064138;
$custom-light: #53766e;
$custom-dark: #000000;
JSON
{
  "hex": "#064138",
  "rgb": {
    "r": 6,
    "g": 65,
    "b": 56
  },
  "hsl": {
    "h": 170.847,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33761,
    "c": 0.05847,
    "h": 179.3
  },
  "luminance": 0.04105
}

Semantic roles & 50–950 ramp

primary
#064138
secondary
#812230
accent
#2E4DF9
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030807
muted
#787B7A

Preview Lab

Preview with #064138

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

Preview Lab → · Contrast checker → · Palette generator →

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