#42547F#42547F

#42547F is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.1% C 0.074 H 266.2°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#42547F
RGBrgb(66, 84, 127)
HSLhsl(222, 32%, 38%)
HSVhsv(222, 48%, 50%)
CMYKcmyk(48%, 33.9%, 0%, 50.2%)
CIE-LABlab(36.04, 5.64, -26.43)
CIE-LCHlch(36.04, 27.02, 282.04°)
OKLaboklab(45.05% -0.005 -0.0742)
OKLCHoklch(45.05% 0.074 266.2)
XYZxyz(9.2466, 9.0306, 21.3304)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42547F #7F6D42
analogous
#42727F #42547F #4E427F
triadic
#42547F #7F4254 #547F42
tetradic
#42547F #7F4272 #7F6D42 #427F4E
square
#42547F #7F4272 #7F6D42 #427F4E
split-complementary
#42547F #7F4E42 #727F42
monochromatic
#181F2E #2D3957 #42547F #576FA7 #7F91BC

Accessibility & contrast

On white

7.48
#42547F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#42547F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42547F
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42547F#FFFFFF#000000##FFFFFF
##42547F1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445881
Deuteranopia (green-blind)
#3E527E
Tritanopia (blue-blind)
#2B5D63
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #42547f;
/* rgb */ color: rgb(66, 84, 127);
/* oklch */ color: oklch(45.1% 0.074 266.2);
Tailwind
colors: {
  custom: {
    50: '#7a83a4',
    500: '#42547f',
    950: '#000000',
  },
}
SCSS
$custom: #42547f;
$custom-light: #7a83a4;
$custom-dark: #000000;
JSON
{
  "hex": "#42547f",
  "rgb": {
    "r": 66,
    "g": 84,
    "b": 127
  },
  "hsl": {
    "h": 222.295,
    "s": 31.606,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45052,
    "c": 0.07437,
    "h": 266.2
  },
  "luminance": 0.09031
}

Semantic roles & 50–950 ramp

primary
#42547F
secondary
#A79975
accent
#A960C8
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090A0F
muted
#7B7C7F

Preview Lab

Preview with #42547F

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

Preview Lab → · Contrast checker → · Palette generator →

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