#40689A#40689A

#40689A is a mid, moderate cyan. Relative luminance 0.133; OKLCH L 51.1% C 0.092 H 254.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#40689A
RGBrgb(64, 104, 154)
HSLhsl(213, 41%, 43%)
HSVhsv(213, 58%, 60%)
CMYKcmyk(58.4%, 32.5%, 0%, 39.6%)
CIE-LABlab(43.25, 1.55, -31.46)
CIE-LCHlch(43.25, 31.49, 272.83°)
OKLaboklab(51.08% -0.0242 -0.0887)
OKLCHoklch(51.08% 0.092 254.7)
XYZxyz(12.8953, 13.3226, 32.4575)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40689A #9A7240
analogous
#40959A #40689A #45409A
triadic
#40689A #9A4068 #689A40
tetradic
#40689A #9A4095 #9A7240 #409A45
square
#40689A #9A4095 #9A7240 #409A45
split-complementary
#40689A #9A4540 #959A40
monochromatic
#1C2E44 #2E4B6F #40689A #5C86BB #87A6CD

Accessibility & contrast

On white

5.73
#40689A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#40689A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40689A
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40689A#FFFFFF#000000##FFFFFF
##40689A1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536B9C
Deuteranopia (green-blind)
#486299
Tritanopia (blue-blind)
#00737A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #40689a;
/* rgb */ color: rgb(64, 104, 154);
/* oklch */ color: oklch(51.1% 0.092 254.7);
Tailwind
colors: {
  custom: {
    50: '#7c92b8',
    500: '#40689a',
    950: '#000000',
  },
}
SCSS
$custom: #40689a;
$custom-light: #7c92b8;
$custom-dark: #000000;
JSON
{
  "hex": "#40689a",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 154
  },
  "hsl": {
    "h": 213.333,
    "s": 41.284,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51078,
    "c": 0.09196,
    "h": 254.7
  },
  "luminance": 0.13324
}

Semantic roles & 50–950 ramp

primary
#40689A
secondary
#B89E7E
accent
#9B57D1
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0D11
muted
#7C7D80

Preview Lab

Preview with #40689A

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

Preview Lab → · Contrast checker → · Palette generator →

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