#425178#425178

#425178 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.0% C 0.067 H 267.5°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#425178
RGBrgb(66, 81, 120)
HSLhsl(223, 29%, 36%)
HSVhsv(223, 45%, 47%)
CMYKcmyk(45%, 32.5%, 0%, 52.9%)
CIE-LABlab(34.80, 5.32, -24.05)
CIE-LCHlch(34.80, 24.63, 282.46°)
OKLaboklab(43.97% -0.0029 -0.0673)
OKLCHoklch(43.97% 0.067 267.5)
XYZxyz(8.5783, 8.3987, 18.9348)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#425178 #786942
analogous
#426C78 #425178 #4E4278
triadic
#425178 #784251 #517842
tetradic
#425178 #78426C #786942 #42784E
square
#425178 #78426C #786942 #42784E
split-complementary
#425178 #784E42 #6C7842
monochromatic
#171C29 #2C3651 #425178 #586C9F #7D8DB7

Accessibility & contrast

On white

7.84
#425178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#425178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #425178
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##425178#FFFFFF#000000##FFFFFF
##4251781.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43547A
Deuteranopia (green-blind)
#3E5077
Tritanopia (blue-blind)
#2F595F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #425178;
/* rgb */ color: rgb(66, 81, 120);
/* oklch */ color: oklch(44.0% 0.067 267.5);
Tailwind
colors: {
  custom: {
    50: '#79819f',
    500: '#425178',
    950: '#000000',
  },
}
SCSS
$custom: #425178;
$custom-light: #79819f;
$custom-dark: #000000;
JSON
{
  "hex": "#425178",
  "rgb": {
    "r": 66,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 223.333,
    "s": 29.032,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43973,
    "c": 0.06739,
    "h": 267.5
  },
  "luminance": 0.08399
}

Semantic roles & 50–950 ramp

primary
#425178
secondary
#A29573
accent
#AA62C5
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#090A0E
muted
#7B7C7E

Preview Lab

Preview with #425178

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

Preview Lab → · Contrast checker → · Palette generator →

#425178 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva