#42628C#42628C

#42628C is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 49.0% C 0.078 H 255.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#42628C
RGBrgb(66, 98, 140)
HSLhsl(214, 36%, 40%)
HSVhsv(214, 53%, 55%)
CMYKcmyk(52.9%, 30%, 0%, 45.1%)
CIE-LABlab(40.87, 1.05, -26.78)
CIE-LCHlch(40.87, 26.80, 272.24°)
OKLaboklab(49.03% -0.0193 -0.0752)
OKLCHoklch(49.03% 0.078 255.6)
XYZxyz(11.3464, 11.7862, 26.4829)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42628C #8C6C42
analogous
#42878C #42628C #47428C
triadic
#42628C #8C4262 #628C42
tetradic
#42628C #8C4287 #8C6C42 #428C47
square
#42628C #8C4287 #8C6C42 #428C47
split-complementary
#42628C #8C4742 #878C42
monochromatic
#1B2839 #2E4562 #42628C #5A80B1 #84A0C5

Accessibility & contrast

On white

6.25
#42628C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#42628C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42628C
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42628C#FFFFFF#000000##FFFFFF
##42628C1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51648E
Deuteranopia (green-blind)
#485D8B
Tritanopia (blue-blind)
#1D6B71
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #42628c;
/* rgb */ color: rgb(66, 98, 140);
/* oklch */ color: oklch(49.0% 0.078 255.6);
Tailwind
colors: {
  custom: {
    50: '#7b8eae',
    500: '#42628c',
    950: '#000000',
  },
}
SCSS
$custom: #42628c;
$custom-light: #7b8eae;
$custom-dark: #000000;
JSON
{
  "hex": "#42628c",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 140
  },
  "hsl": {
    "h": 214.054,
    "s": 35.922,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49028,
    "c": 0.07761,
    "h": 255.6
  },
  "luminance": 0.11787
}

Semantic roles & 50–950 ramp

primary
#42628C
secondary
#B0997A
accent
#9B5CCC
background
#F7F8FA
surface
#EEF0F4
border
#C9CBCE
text
#0A0C10
muted
#7C7D7F

Preview Lab

Preview with #42628C

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

Preview Lab → · Contrast checker → · Palette generator →

#42628C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva