#40689D#40689D

#40689D is a mid, moderate cyan. Relative luminance 0.134; OKLCH L 51.2% C 0.096 H 255.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#40689D
RGBrgb(64, 104, 157)
HSLhsl(214, 42%, 43%)
HSVhsv(214, 59%, 62%)
CMYKcmyk(59.2%, 33.8%, 0%, 38.4%)
CIE-LABlab(43.40, 2.58, -33.00)
CIE-LCHlch(43.40, 33.10, 274.47°)
OKLaboklab(51.24% -0.0234 -0.0932)
OKLCHoklch(51.24% 0.096 255.9)
XYZxyz(13.1483, 13.4238, 33.7899)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40689D #9D7540
analogous
#40969D #40689D #47409D
triadic
#40689D #9D4068 #689D40
tetradic
#40689D #9D4096 #9D7540 #409D47
square
#40689D #9D4096 #9D7540 #409D47
split-complementary
#40689D #9D4740 #969D40
monochromatic
#1D2E46 #2E4B72 #40689D #5D86BD #89A7CF

Accessibility & contrast

On white

5.70
#40689D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#40689D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40689D
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40689D#FFFFFF#000000##FFFFFF
##40689D1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526B9F
Deuteranopia (green-blind)
#46629C
Tritanopia (blue-blind)
#00747B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #40689d;
/* rgb */ color: rgb(64, 104, 157);
/* oklch */ color: oklch(51.2% 0.096 255.9);
Tailwind
colors: {
  custom: {
    50: '#7c92ba',
    500: '#40689d',
    950: '#000000',
  },
}
SCSS
$custom: #40689d;
$custom-light: #7c92ba;
$custom-dark: #000000;
JSON
{
  "hex": "#40689d",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 157
  },
  "hsl": {
    "h": 214.194,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51244,
    "c": 0.09609,
    "h": 255.9
  },
  "luminance": 0.13425
}

Semantic roles & 50–950 ramp

primary
#40689D
secondary
#B9A07F
accent
#9D56D2
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0D11
muted
#7C7D80

Preview Lab

Preview with #40689D

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

Preview Lab → · Contrast checker → · Palette generator →

#40689D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva