#40698F#40698F

#40698F is a mid, moderate cyan. Relative luminance 0.132; OKLCH L 50.7% C 0.076 H 247.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#40698F
RGBrgb(64, 105, 143)
HSLhsl(209, 38%, 41%)
HSVhsv(209, 55%, 56%)
CMYKcmyk(55.2%, 26.6%, 0%, 43.9%)
CIE-LABlab(43.03, -2.74, -25.24)
CIE-LCHlch(43.03, 25.39, 263.80°)
OKLaboklab(50.74% -0.0289 -0.0707)
OKLCHoklch(50.74% 0.076 247.8)
XYZxyz(12.1221, 13.1753, 27.8856)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40698F #8F6640
analogous
#408F8D #40698F #40418F
triadic
#40698F #8F4069 #698F40
tetradic
#40698F #8D408F #8F6640 #418F40
square
#40698F #8D408F #8F6640 #418F40
split-complementary
#40698F #8F4041 #8F8D40
monochromatic
#1A2B3A #2D4A65 #40698F #5888B4 #82A6C7

Accessibility & contrast

On white

5.78
#40698F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#40698F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40698F
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40698F#FFFFFF#000000##FFFFFF
##40698F1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596A91
Deuteranopia (green-blind)
#4F628E
Tritanopia (blue-blind)
#0E7276
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #40698f;
/* rgb */ color: rgb(64, 105, 143);
/* oklch */ color: oklch(50.7% 0.076 247.8);
Tailwind
colors: {
  custom: {
    50: '#7b93b0',
    500: '#40698f',
    950: '#000000',
  },
}
SCSS
$custom: #40698f;
$custom-light: #7b93b0;
$custom-dark: #000000;
JSON
{
  "hex": "#40698f",
  "rgb": {
    "r": 64,
    "g": 105,
    "b": 143
  },
  "hsl": {
    "h": 208.861,
    "s": 38.164,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50735,
    "c": 0.0764,
    "h": 247.8
  },
  "luminance": 0.13176
}

Semantic roles & 50–950 ramp

primary
#40698F
secondary
#B29479
accent
#925ACE
background
#F7F9FA
surface
#EEF1F4
border
#C9CBCE
text
#0A0D10
muted
#7C7E7F

Preview Lab

Preview with #40698F

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

Preview Lab → · Contrast checker → · Palette generator →

#40698F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva