#42679F#42679F

#42679F is a mid, moderate blue. Relative luminance 0.134; OKLCH L 51.2% C 0.099 H 258.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#42679F
RGBrgb(66, 103, 159)
HSLhsl(216, 41%, 44%)
HSVhsv(216, 58%, 62%)
CMYKcmyk(58.5%, 35.2%, 0%, 37.6%)
CIE-LABlab(43.30, 4.31, -34.33)
CIE-LCHlch(43.30, 34.60, 277.16°)
OKLaboklab(51.23% -0.0198 -0.097)
OKLCHoklch(51.23% 0.099 258.4)
XYZxyz(13.3528, 13.3608, 34.6694)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42679F #9F7A42
analogous
#42969F #42679F #4C429F
triadic
#42679F #9F4267 #679F42
tetradic
#42679F #9F4296 #9F7A42 #429F4C
square
#42679F #9F4296 #9F7A42 #429F4C
split-complementary
#42679F #9F4C42 #969F42
monochromatic
#1E2F49 #304B74 #42679F #6186BD #8CA7CF

Accessibility & contrast

On white

5.72
#42679F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#42679F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42679F
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42679F#FFFFFF#000000##FFFFFF
##42679F1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506BA1
Deuteranopia (green-blind)
#44629E
Tritanopia (blue-blind)
#00747B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #42679f;
/* rgb */ color: rgb(66, 103, 159);
/* oklch */ color: oklch(51.2% 0.099 258.4);
Tailwind
colors: {
  custom: {
    50: '#7e92bb',
    500: '#42679f',
    950: '#000000',
  },
}
SCSS
$custom: #42679f;
$custom-light: #7e92bb;
$custom-dark: #000000;
JSON
{
  "hex": "#42679f",
  "rgb": {
    "r": 66,
    "g": 103,
    "b": 159
  },
  "hsl": {
    "h": 216.129,
    "s": 41.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51232,
    "c": 0.09905,
    "h": 258.4
  },
  "luminance": 0.13362
}

Semantic roles & 50–950 ramp

primary
#42679F
secondary
#BAA482
accent
#A057D1
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #42679F

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

Preview Lab → · Contrast checker → · Palette generator →

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