#42628A#42628A

#42628A is a mid, moderate cyan. Relative luminance 0.117; OKLCH L 48.9% C 0.075 H 254.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#42628A
RGBrgb(66, 98, 138)
HSLhsl(213, 35%, 40%)
HSVhsv(213, 52%, 54%)
CMYKcmyk(52.2%, 29%, 0%, 45.9%)
CIE-LABlab(40.78, 0.39, -25.73)
CIE-LCHlch(40.78, 25.73, 270.87°)
OKLaboklab(48.92% -0.0199 -0.0721)
OKLCHoklch(48.92% 0.075 254.5)
XYZxyz(11.2003, 11.7278, 25.7133)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42628A #8A6A42
analogous
#42868A #42628A #46428A
triadic
#42628A #8A4262 #628A42
tetradic
#42628A #8A4286 #8A6A42 #428A46
square
#42628A #8A4286 #8A6A42 #428A46
split-complementary
#42628A #8A4642 #868A42
monochromatic
#1A2737 #2E4561 #42628A #5980B0 #83A0C4

Accessibility & contrast

On white

6.28
#42628A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #42628A
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42628A#FFFFFF#000000##FFFFFF
##42628A1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52648C
Deuteranopia (green-blind)
#495D89
Tritanopia (blue-blind)
#1F6B70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #42628a;
/* rgb */ color: rgb(66, 98, 138);
/* oklch */ color: oklch(48.9% 0.075 254.5);
Tailwind
colors: {
  custom: {
    50: '#7b8eac',
    500: '#42628a',
    950: '#000000',
  },
}
SCSS
$custom: #42628a;
$custom-light: #7b8eac;
$custom-dark: #000000;
JSON
{
  "hex": "#42628a",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 138
  },
  "hsl": {
    "h": 213.333,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.48923,
    "c": 0.07482,
    "h": 254.5
  },
  "luminance": 0.11729
}

Semantic roles & 50–950 ramp

primary
#42628A
secondary
#AE9779
accent
#9A5CCB
background
#F7F8FA
surface
#EEF0F4
border
#C9CBCE
text
#0A0C10
muted
#7C7D7F

Preview Lab

Preview with #42628A

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

Preview Lab → · Contrast checker → · Palette generator →

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