#42628F#42628F

#42628F is a mid, moderate blue. Relative luminance 0.119; OKLCH L 49.2% C 0.082 H 257.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#42628F
RGBrgb(66, 98, 143)
HSLhsl(215, 37%, 41%)
HSVhsv(215, 54%, 56%)
CMYKcmyk(53.8%, 31.5%, 0%, 43.9%)
CIE-LABlab(41.02, 2.04, -28.36)
CIE-LCHlch(41.02, 28.44, 274.11°)
OKLaboklab(49.19% -0.0184 -0.0797)
OKLCHoklch(49.19% 0.082 257)
XYZxyz(11.5707, 11.8759, 27.6638)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42628F #8F6F42
analogous
#42888F #42628F #48428F
triadic
#42628F #8F4262 #628F42
tetradic
#42628F #8F4288 #8F6F42 #428F48
square
#42628F #8F4288 #8F6F42 #428F48
split-complementary
#42628F #8F4842 #888F42
monochromatic
#1B293B #2F4565 #42628F #5B80B3 #85A0C7

Accessibility & contrast

On white

6.22
#42628F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#42628F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42628F
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42628F#FFFFFF#000000##FFFFFF
##42628F1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506591
Deuteranopia (green-blind)
#475D8E
Tritanopia (blue-blind)
#196C72
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #42628f;
/* rgb */ color: rgb(66, 98, 143);
/* oklch */ color: oklch(49.2% 0.082 257.0);
Tailwind
colors: {
  custom: {
    50: '#7c8eb0',
    500: '#42628f',
    950: '#000000',
  },
}
SCSS
$custom: #42628f;
$custom-light: #7c8eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#42628f",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 143
  },
  "hsl": {
    "h": 215.065,
    "s": 36.842,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49188,
    "c": 0.08184,
    "h": 257
  },
  "luminance": 0.11877
}

Semantic roles & 50–950 ramp

primary
#42628F
secondary
#B19B7B
accent
#9E5BCD
background
#F7F8FA
surface
#EEF0F4
border
#C9CBCE
text
#0A0C10
muted
#7C7D7F

Preview Lab

Preview with #42628F

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

Preview Lab → · Contrast checker → · Palette generator →

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