#42689F#42689F

#42689F is a mid, moderate blue. Relative luminance 0.136; OKLCH L 51.5% C 0.098 H 257.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#42689F
RGBrgb(66, 104, 159)
HSLhsl(215, 41%, 44%)
HSVhsv(215, 58%, 62%)
CMYKcmyk(58.5%, 34.6%, 0%, 37.6%)
CIE-LABlab(43.60, 3.69, -33.86)
CIE-LCHlch(43.60, 34.06, 276.22°)
OKLaboklab(51.46% -0.021 -0.0957)
OKLCHoklch(51.46% 0.098 257.6)
XYZxyz(13.4529, 13.5610, 34.7028)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42689F #9F7942
analogous
#42979F #42689F #4B429F
triadic
#42689F #9F4268 #689F42
tetradic
#42689F #9F4297 #9F7942 #429F4B
square
#42689F #9F4297 #9F7942 #429F4B
split-complementary
#42689F #9F4B42 #979F42
monochromatic
#1E2F49 #304C74 #42689F #6187BD #8CA8CF

Accessibility & contrast

On white

5.66
#42689F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#42689F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42689F
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42689F#FFFFFF#000000##FFFFFF
##42689F1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516CA1
Deuteranopia (green-blind)
#45639E
Tritanopia (blue-blind)
#00747C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #42689f;
/* rgb */ color: rgb(66, 104, 159);
/* oklch */ color: oklch(51.5% 0.098 257.6);
Tailwind
colors: {
  custom: {
    50: '#7e92bb',
    500: '#42689f',
    950: '#000000',
  },
}
SCSS
$custom: #42689f;
$custom-light: #7e92bb;
$custom-dark: #000000;
JSON
{
  "hex": "#42689f",
  "rgb": {
    "r": 66,
    "g": 104,
    "b": 159
  },
  "hsl": {
    "h": 215.484,
    "s": 41.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51462,
    "c": 0.09796,
    "h": 257.6
  },
  "luminance": 0.13562
}

Semantic roles & 50–950 ramp

primary
#42689F
secondary
#BAA482
accent
#9F57D1
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0A0D12
muted
#7C7D81

Preview Lab

Preview with #42689F

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

Preview Lab → · Contrast checker → · Palette generator →

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