#42628E#42628E

#42628E is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 49.1% C 0.080 H 256.6°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#42628E
RGBrgb(66, 98, 142)
HSLhsl(215, 37%, 41%)
HSVhsv(215, 54%, 56%)
CMYKcmyk(53.5%, 31%, 0%, 44.3%)
CIE-LABlab(40.97, 1.71, -27.84)
CIE-LCHlch(40.97, 27.89, 273.51°)
OKLaboklab(49.13% -0.0187 -0.0782)
OKLCHoklch(49.13% 0.08 256.6)
XYZxyz(11.4953, 11.8457, 27.2666)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42628E #8E6E42
analogous
#42888E #42628E #48428E
triadic
#42628E #8E4262 #628E42
tetradic
#42628E #8E4288 #8E6E42 #428E48
square
#42628E #8E4288 #8E6E42 #428E48
split-complementary
#42628E #8E4842 #888E42
monochromatic
#1B283A #2F4564 #42628E #5B80B3 #84A0C6

Accessibility & contrast

On white

6.23
#42628E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#42628E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42628E
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42628E#FFFFFF#000000##FFFFFF
##42628E1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516590
Deuteranopia (green-blind)
#475D8D
Tritanopia (blue-blind)
#1B6C72
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #42628e;
/* rgb */ color: rgb(66, 98, 142);
/* oklch */ color: oklch(49.1% 0.080 256.6);
Tailwind
colors: {
  custom: {
    50: '#7b8eaf',
    500: '#42628e',
    950: '#000000',
  },
}
SCSS
$custom: #42628e;
$custom-light: #7b8eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#42628e",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 142
  },
  "hsl": {
    "h": 214.737,
    "s": 36.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49134,
    "c": 0.08043,
    "h": 256.6
  },
  "luminance": 0.11847
}

Semantic roles & 50–950 ramp

primary
#42628E
secondary
#B19A7B
accent
#9D5BCD
background
#F7F8FA
surface
#EEF0F4
border
#C9CBCE
text
#0A0C10
muted
#7C7D7F

Preview Lab

Preview with #42628E

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

Preview Lab → · Contrast checker → · Palette generator →

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