#40629F#40629F

#40629F is a mid, moderate blue. Relative luminance 0.123; OKLCH L 50.0% C 0.106 H 261.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#40629F
RGBrgb(64, 98, 159)
HSLhsl(219, 43%, 44%)
HSVhsv(219, 60%, 62%)
CMYKcmyk(59.7%, 38.4%, 0%, 37.6%)
CIE-LABlab(41.73, 7.03, -36.81)
CIE-LCHlch(41.73, 37.48, 280.81°)
OKLaboklab(49.98% -0.0159 -0.1044)
OKLCHoklch(49.98% 0.106 261.3)
XYZxyz(12.7379, 12.3275, 34.5023)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40629F #9F7D40
analogous
#40919F #40629F #4D409F
triadic
#40629F #9F4062 #629F40
tetradic
#40629F #9F4091 #9F7D40 #409F4D
square
#40629F #9F4091 #9F7D40 #409F4D
split-complementary
#40629F #9F4D40 #919F40
monochromatic
#1D2C48 #2E4773 #40629F #5E80BE #8AA3D0

Accessibility & contrast

On white

6.06
#40629F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#40629F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40629F
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40629F#FFFFFF#000000##FFFFFF
##40629F1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4867A1
Deuteranopia (green-blind)
#3C5E9E
Tritanopia (blue-blind)
#007079
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #40629f;
/* rgb */ color: rgb(64, 98, 159);
/* oklch */ color: oklch(50.0% 0.106 261.3);
Tailwind
colors: {
  custom: {
    50: '#7d8ebc',
    500: '#40629f',
    950: '#000000',
  },
}
SCSS
$custom: #40629f;
$custom-light: #7d8ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#40629f",
  "rgb": {
    "r": 64,
    "g": 98,
    "b": 159
  },
  "hsl": {
    "h": 218.526,
    "s": 42.601,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49983,
    "c": 0.1056,
    "h": 261.3
  },
  "luminance": 0.12329
}

Semantic roles & 50–950 ramp

primary
#40629F
secondary
#BBA680
accent
#A655D2
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #40629F

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

Preview Lab → · Contrast checker → · Palette generator →

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