#40868B#40868B

#40868B is a mid, moderate teal. Relative luminance 0.200; OKLCH L 57.7% C 0.071 H 201.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#40868B
RGBrgb(64, 134, 139)
HSLhsl(184, 37%, 40%)
HSVhsv(184, 54%, 55%)
CMYKcmyk(54%, 3.6%, 0%, 45.5%)
CIE-LABlab(51.84, -20.44, -9.42)
CIE-LCHlch(51.84, 22.50, 204.74°)
OKLaboklab(57.71% -0.0656 -0.026)
OKLCHoklch(57.71% 0.071 201.6)
XYZxyz(15.2978, 20.0029, 27.4759)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40868B #8B4540
analogous
#408B6B #40868B #40618B
triadic
#40868B #8B4086 #868B40
tetradic
#40868B #6B408B #8B4540 #618B40
square
#40868B #6B408B #8B4540 #618B40
split-complementary
#40868B #8B4061 #8B6B40
monochromatic
#193537 #2D5E61 #40868B #57ABB2 #81C0C5

Accessibility & contrast

On white

4.20
#40868B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#40868B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40868B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40868B#FFFFFF#000000##000000
##40868B1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D818B
Deuteranopia (green-blind)
#71788B
Tritanopia (blue-blind)
#008A87
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #40868b;
/* rgb */ color: rgb(64, 134, 139);
/* oklch */ color: oklch(57.7% 0.071 201.6);
Tailwind
colors: {
  custom: {
    50: '#7ca9ac',
    500: '#40868b',
    950: '#000000',
  },
}
SCSS
$custom: #40868b;
$custom-light: #7ca9ac;
$custom-dark: #000000;
JSON
{
  "hex": "#40868b",
  "rgb": {
    "r": 64,
    "g": 134,
    "b": 139
  },
  "hsl": {
    "h": 184,
    "s": 36.946,
    "l": 39.804
  },
  "oklch": {
    "l": 0.57706,
    "c": 0.07058,
    "h": 201.6
  },
  "luminance": 0.20004
}

Semantic roles & 50–950 ramp

primary
#40868B
secondary
#AF7B78
accent
#625BCD
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#0A1010
muted
#7C7F7F

Preview Lab

Preview with #40868B

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

Preview Lab → · Contrast checker → · Palette generator →

#40868B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva