#42639E#42639E

#42639E is a mid, moderate blue. Relative luminance 0.126; OKLCH L 50.3% C 0.102 H 261.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#42639E
RGBrgb(66, 99, 158)
HSLhsl(218, 41%, 44%)
HSVhsv(218, 58%, 62%)
CMYKcmyk(58.2%, 37.3%, 0%, 38%)
CIE-LABlab(42.08, 6.48, -35.67)
CIE-LCHlch(42.08, 36.25, 280.29°)
OKLaboklab(50.26% -0.0155 -0.101)
OKLCHoklch(50.26% 0.102 261.3)
XYZxyz(12.8780, 12.5495, 34.0848)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42639E #9E7D42
analogous
#42919E #42639E #4F429E
triadic
#42639E #9E4263 #639E42
tetradic
#42639E #9E4291 #9E7D42 #429E4F
square
#42639E #9E4291 #9E7D42 #429E4F
split-complementary
#42639E #9E4F42 #919E42
monochromatic
#1E2D48 #304873 #42639E #6082BD #8CA4CF

Accessibility & contrast

On white

5.98
#42639E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#42639E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42639E
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42639E#FFFFFF#000000##FFFFFF
##42639E1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B68A0
Deuteranopia (green-blind)
#3F5F9D
Tritanopia (blue-blind)
#007079
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #42639e;
/* rgb */ color: rgb(66, 99, 158);
/* oklch */ color: oklch(50.3% 0.102 261.3);
Tailwind
colors: {
  custom: {
    50: '#7e8fbb',
    500: '#42639e',
    950: '#000000',
  },
}
SCSS
$custom: #42639e;
$custom-light: #7e8fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#42639e",
  "rgb": {
    "r": 66,
    "g": 99,
    "b": 158
  },
  "hsl": {
    "h": 218.478,
    "s": 41.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50262,
    "c": 0.10217,
    "h": 261.3
  },
  "luminance": 0.12551
}

Semantic roles & 50–950 ramp

primary
#42639E
secondary
#BAA682
accent
#A557D1
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #42639E

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

Preview Lab → · Contrast checker → · Palette generator →

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