#40629D#40629D

#40629D is a mid, moderate blue. Relative luminance 0.123; OKLCH L 49.9% C 0.103 H 260.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#40629D
RGBrgb(64, 98, 157)
HSLhsl(218, 42%, 43%)
HSVhsv(218, 59%, 62%)
CMYKcmyk(59.2%, 37.6%, 0%, 38.4%)
CIE-LABlab(41.62, 6.33, -35.79)
CIE-LCHlch(41.62, 36.35, 280.03°)
OKLaboklab(49.86% -0.0164 -0.1014)
OKLCHoklch(49.86% 0.103 260.8)
XYZxyz(12.5657, 12.2586, 33.5957)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40629D #9D7B40
analogous
#40909D #40629D #4D409D
triadic
#40629D #9D4062 #629D40
tetradic
#40629D #9D4090 #9D7B40 #409D4D
square
#40629D #9D4090 #9D7B40 #409D4D
split-complementary
#40629D #9D4D40 #909D40
monochromatic
#1D2C46 #2E4772 #40629D #5D80BD #89A2CF

Accessibility & contrast

On white

6.08
#40629D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#40629D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40629D
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40629D#FFFFFF#000000##FFFFFF
##40629D1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49679F
Deuteranopia (green-blind)
#3D5E9C
Tritanopia (blue-blind)
#006F78
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #40629d;
/* rgb */ color: rgb(64, 98, 157);
/* oklch */ color: oklch(49.9% 0.103 260.8);
Tailwind
colors: {
  custom: {
    50: '#7d8eba',
    500: '#40629d',
    950: '#000000',
  },
}
SCSS
$custom: #40629d;
$custom-light: #7d8eba;
$custom-dark: #000000;
JSON
{
  "hex": "#40629d",
  "rgb": {
    "r": 64,
    "g": 98,
    "b": 157
  },
  "hsl": {
    "h": 218.065,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49865,
    "c": 0.10273,
    "h": 260.8
  },
  "luminance": 0.1226
}

Semantic roles & 50–950 ramp

primary
#40629D
secondary
#B9A47F
accent
#A556D2
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0C11
muted
#7C7D80

Preview Lab

Preview with #40629D

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

Preview Lab → · Contrast checker → · Palette generator →

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