#42628B#42628B

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

Color values

HEX#42628B
RGBrgb(66, 98, 139)
HSLhsl(214, 36%, 40%)
HSVhsv(214, 53%, 55%)
CMYKcmyk(52.5%, 29.5%, 0%, 45.5%)
CIE-LABlab(40.83, 0.72, -26.26)
CIE-LCHlch(40.83, 26.27, 271.57°)
OKLaboklab(48.98% -0.0196 -0.0736)
OKLCHoklch(48.98% 0.076 255.1)
XYZxyz(11.2731, 11.7569, 26.0964)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42628B #8B6B42
analogous
#42868B #42628B #47428B
triadic
#42628B #8B4262 #628B42
tetradic
#42628B #8B4286 #8B6B42 #428B47
square
#42628B #8B4286 #8B6B42 #428B47
split-complementary
#42628B #8B4742 #868B42
monochromatic
#1B2738 #2E4562 #42628B #5A80B1 #83A0C4

Accessibility & contrast

On white

6.27
#42628B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#42628B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42628B
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42628B#FFFFFF#000000##FFFFFF
##42628B1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52648D
Deuteranopia (green-blind)
#495D8A
Tritanopia (blue-blind)
#1E6B70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #42628b;
/* rgb */ color: rgb(66, 98, 139);
/* oklch */ color: oklch(49.0% 0.076 255.1);
Tailwind
colors: {
  custom: {
    50: '#7b8ead',
    500: '#42628b',
    950: '#000000',
  },
}
SCSS
$custom: #42628b;
$custom-light: #7b8ead;
$custom-dark: #000000;
JSON
{
  "hex": "#42628b",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 139
  },
  "hsl": {
    "h": 213.699,
    "s": 35.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48975,
    "c": 0.07622,
    "h": 255.1
  },
  "luminance": 0.11758
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42628B

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

Preview Lab → · Contrast checker → · Palette generator →

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