#40688B#40688B

#40688B is a mid, moderate cyan. Relative luminance 0.129; OKLCH L 50.3% C 0.072 H 246.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#40688B
RGBrgb(64, 104, 139)
HSLhsl(208, 37%, 40%)
HSVhsv(208, 54%, 55%)
CMYKcmyk(54%, 25.2%, 0%, 45.5%)
CIE-LABlab(42.54, -3.45, -23.60)
CIE-LCHlch(42.54, 23.85, 261.69°)
OKLaboklab(50.29% -0.029 -0.066)
OKLCHoklch(50.29% 0.072 246.2)
XYZxyz(11.7232, 12.8538, 26.2843)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40688B #8B6340
analogous
#408B89 #40688B #40428B
triadic
#40688B #8B4068 #688B40
tetradic
#40688B #89408B #8B6340 #428B40
square
#40688B #89408B #8B6340 #428B40
split-complementary
#40688B #8B4042 #8B8940
monochromatic
#192937 #2D4961 #40688B #5787B2 #81A5C5

Accessibility & contrast

On white

5.88
#40688B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#40688B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40688B
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40688B#FFFFFF#000000##FFFFFF
##40688B1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59698D
Deuteranopia (green-blind)
#4F618A
Tritanopia (blue-blind)
#157074
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #40688b;
/* rgb */ color: rgb(64, 104, 139);
/* oklch */ color: oklch(50.3% 0.072 246.2);
Tailwind
colors: {
  custom: {
    50: '#7a93ad',
    500: '#40688b',
    950: '#000000',
  },
}
SCSS
$custom: #40688b;
$custom-light: #7a93ad;
$custom-dark: #000000;
JSON
{
  "hex": "#40688b",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 139
  },
  "hsl": {
    "h": 208,
    "s": 36.946,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50294,
    "c": 0.0721,
    "h": 246.2
  },
  "luminance": 0.12855
}

Semantic roles & 50–950 ramp

primary
#40688B
secondary
#AF9278
accent
#905BCD
background
#F7F9FA
surface
#EEF1F4
border
#C9CBCE
text
#0A0D10
muted
#7C7E7F

Preview Lab

Preview with #40688B

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

Preview Lab → · Contrast checker → · Palette generator →

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