#42629D#42629D

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

Color values

HEX#42629D
RGBrgb(66, 98, 157)
HSLhsl(219, 41%, 44%)
HSVhsv(219, 58%, 62%)
CMYKcmyk(58%, 37.6%, 0%, 38.4%)
CIE-LABlab(41.73, 6.77, -35.62)
CIE-LCHlch(41.73, 36.26, 280.75°)
OKLaboklab(49.98% -0.0145 -0.1009)
OKLCHoklch(49.98% 0.102 261.8)
XYZxyz(12.6982, 12.3269, 33.6019)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42629D #9D7D42
analogous
#428F9D #42629D #4F429D
triadic
#42629D #9D4262 #629D42
tetradic
#42629D #9D428F #9D7D42 #429D4F
square
#42629D #9D428F #9D7D42 #429D4F
split-complementary
#42629D #9D4F42 #8F9D42
monochromatic
#1E2C47 #304772 #42629D #6080BC #8BA3CE

Accessibility & contrast

On white

6.06
#42629D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#42629D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42629D
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42629D#FFFFFF#000000##FFFFFF
##42629D1.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)
#4A679F
Deuteranopia (green-blind)
#3E5F9C
Tritanopia (blue-blind)
#006F78
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #42629d;
/* rgb */ color: rgb(66, 98, 157);
/* oklch */ color: oklch(50.0% 0.102 261.8);
Tailwind
colors: {
  custom: {
    50: '#7e8eba',
    500: '#42629d',
    950: '#000000',
  },
}
SCSS
$custom: #42629d;
$custom-light: #7e8eba;
$custom-dark: #000000;
JSON
{
  "hex": "#42629d",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 157
  },
  "hsl": {
    "h": 218.901,
    "s": 40.807,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49976,
    "c": 0.1019,
    "h": 261.8
  },
  "luminance": 0.12328
}

Semantic roles & 50–950 ramp

primary
#42629D
secondary
#B9A682
accent
#A657D1
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0A0C11
muted
#7C7D80

Preview Lab

Preview with #42629D

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

Preview Lab → · Contrast checker → · Palette generator →

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