#42679E#42679E

#42679E is a mid, moderate blue. Relative luminance 0.133; OKLCH L 51.2% C 0.098 H 258.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#42679E
RGBrgb(66, 103, 158)
HSLhsl(216, 41%, 44%)
HSVhsv(216, 58%, 62%)
CMYKcmyk(58.2%, 34.8%, 0%, 38%)
CIE-LABlab(43.25, 3.97, -33.81)
CIE-LCHlch(43.25, 34.05, 276.70°)
OKLaboklab(51.18% -0.0201 -0.0955)
OKLCHoklch(51.18% 0.098 258.1)
XYZxyz(13.2664, 13.3263, 34.2142)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42679E #9E7942
analogous
#42959E #42679E #4B429E
triadic
#42679E #9E4267 #679E42
tetradic
#42679E #9E4295 #9E7942 #429E4B
square
#42679E #9E4295 #9E7942 #429E4B
split-complementary
#42679E #9E4B42 #959E42
monochromatic
#1E2F48 #304B73 #42679E #6086BD #8CA7CF

Accessibility & contrast

On white

5.73
#42679E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #42679E
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42679E#FFFFFF#000000##FFFFFF
##42679E1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506BA0
Deuteranopia (green-blind)
#45629D
Tritanopia (blue-blind)
#00737B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #42679e;
/* rgb */ color: rgb(66, 103, 158);
/* oklch */ color: oklch(51.2% 0.098 258.1);
Tailwind
colors: {
  custom: {
    50: '#7e92bb',
    500: '#42679e',
    950: '#000000',
  },
}
SCSS
$custom: #42679e;
$custom-light: #7e92bb;
$custom-dark: #000000;
JSON
{
  "hex": "#42679e",
  "rgb": {
    "r": 66,
    "g": 103,
    "b": 158
  },
  "hsl": {
    "h": 215.87,
    "s": 41.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51175,
    "c": 0.09764,
    "h": 258.1
  },
  "luminance": 0.13327
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42679E

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

Preview Lab → · Contrast checker → · Palette generator →

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