#40679F#40679F

#40679F is a mid, moderate blue. Relative luminance 0.133; OKLCH L 51.1% C 0.100 H 257.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#40679F
RGBrgb(64, 103, 159)
HSLhsl(215, 43%, 44%)
HSVhsv(215, 60%, 62%)
CMYKcmyk(59.7%, 35.2%, 0%, 37.6%)
CIE-LABlab(43.20, 3.89, -34.49)
CIE-LCHlch(43.20, 34.71, 276.43°)
OKLaboklab(51.13% -0.0217 -0.0976)
OKLCHoklch(51.13% 0.1 257.5)
XYZxyz(13.2204, 13.2925, 34.6632)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40679F #9F7840
analogous
#40969F #40679F #48409F
triadic
#40679F #9F4067 #679F40
tetradic
#40679F #9F4096 #9F7840 #409F48
square
#40679F #9F4096 #9F7840 #409F48
split-complementary
#40679F #9F4840 #969F40
monochromatic
#1D2E48 #2E4B73 #40679F #5E85BE #8AA6D0

Accessibility & contrast

On white

5.74
#40679F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#40679F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40679F
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40679F#FFFFFF#000000##FFFFFF
##40679F1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506BA1
Deuteranopia (green-blind)
#43629E
Tritanopia (blue-blind)
#00747B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #40679f;
/* rgb */ color: rgb(64, 103, 159);
/* oklch */ color: oklch(51.1% 0.100 257.5);
Tailwind
colors: {
  custom: {
    50: '#7d92bb',
    500: '#40679f',
    950: '#000000',
  },
}
SCSS
$custom: #40679f;
$custom-light: #7d92bb;
$custom-dark: #000000;
JSON
{
  "hex": "#40679f",
  "rgb": {
    "r": 64,
    "g": 103,
    "b": 159
  },
  "hsl": {
    "h": 215.368,
    "s": 42.601,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51126,
    "c": 0.09994,
    "h": 257.5
  },
  "luminance": 0.13294
}

Semantic roles & 50–950 ramp

primary
#40679F
secondary
#BBA380
accent
#9F55D2
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #40679F

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

Preview Lab → · Contrast checker → · Palette generator →

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