#42639D#42639D

#42639D is a mid, moderate blue. Relative luminance 0.125; OKLCH L 50.2% C 0.101 H 261.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#42639D
RGBrgb(66, 99, 157)
HSLhsl(218, 41%, 44%)
HSVhsv(218, 58%, 62%)
CMYKcmyk(58%, 36.9%, 0%, 38.4%)
CIE-LABlab(42.02, 6.13, -35.16)
CIE-LCHlch(42.02, 35.69, 279.90°)
OKLaboklab(50.2% -0.0157 -0.0995)
OKLCHoklch(50.2% 0.101 261)
XYZxyz(12.7923, 12.5152, 33.6333)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42639D #9D7C42
analogous
#42909D #42639D #4E429D
triadic
#42639D #9D4263 #639D42
tetradic
#42639D #9D4290 #9D7C42 #429D4E
square
#42639D #9D4290 #9D7C42 #429D4E
split-complementary
#42639D #9D4E42 #909D42
monochromatic
#1E2D47 #304872 #42639D #6081BC #8BA3CE

Accessibility & contrast

On white

5.99
#42639D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#42639D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42639D
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42639D#FFFFFF#000000##FFFFFF
##42639D1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B689F
Deuteranopia (green-blind)
#405F9C
Tritanopia (blue-blind)
#007078
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #42639d;
/* rgb */ color: rgb(66, 99, 157);
/* oklch */ color: oklch(50.2% 0.101 261.0);
Tailwind
colors: {
  custom: {
    50: '#7e8fba',
    500: '#42639d',
    950: '#000000',
  },
}
SCSS
$custom: #42639d;
$custom-light: #7e8fba;
$custom-dark: #000000;
JSON
{
  "hex": "#42639d",
  "rgb": {
    "r": 66,
    "g": 99,
    "b": 157
  },
  "hsl": {
    "h": 218.242,
    "s": 40.807,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50203,
    "c": 0.10073,
    "h": 261
  },
  "luminance": 0.12516
}

Semantic roles & 50–950 ramp

primary
#42639D
secondary
#B9A582
accent
#A557D1
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0A0C11
muted
#7C7D80

Preview Lab

Preview with #42639D

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

Preview Lab → · Contrast checker → · Palette generator →

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