#4073A8#4073A8

#4073A8 is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 54.4% C 0.100 H 251.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4073A8
RGBrgb(64, 115, 168)
HSLhsl(211, 45%, 45%)
HSVhsv(211, 62%, 66%)
CMYKcmyk(61.9%, 31.5%, 0%, 34.1%)
CIE-LABlab(47.21, -0.39, -33.49)
CIE-LCHlch(47.21, 33.49, 269.34°)
OKLaboklab(54.41% -0.0326 -0.0945)
OKLCHoklch(54.41% 0.1 251)
XYZxyz(15.3104, 16.1772, 39.3539)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4073A8 #A87540
analogous
#40A7A8 #4073A8 #4140A8
triadic
#4073A8 #A84073 #73A840
tetradic
#4073A8 #A840A7 #A87540 #40A841
square
#4073A8 #A840A7 #A87540 #40A841
split-complementary
#4073A8 #A84140 #A7A840
monochromatic
#1E364F #2F557C #4073A8 #6292C3 #8EB1D4

Accessibility & contrast

On white

4.96
#4073A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#4073A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4073A8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4073A8#FFFFFF#000000##FFFFFF
##4073A81.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C75AA
Deuteranopia (green-blind)
#4E6BA7
Tritanopia (blue-blind)
#007F86
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4073a8;
/* rgb */ color: rgb(64, 115, 168);
/* oklch */ color: oklch(54.4% 0.100 251.0);
Tailwind
colors: {
  custom: {
    50: '#7e9bc2',
    500: '#4073a8',
    950: '#000000',
  },
}
SCSS
$custom: #4073a8;
$custom-light: #7e9bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#4073a8",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 168
  },
  "hsl": {
    "h": 210.577,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54407,
    "c": 0.09999,
    "h": 251
  },
  "luminance": 0.16179
}

Semantic roles & 50–950 ramp

primary
#4073A8
secondary
#BFA285
accent
#9553D5
background
#F8F9FB
surface
#EFF2F7
border
#CACCD0
text
#0B0E12
muted
#7C7E81

Preview Lab

Preview with #4073A8

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

Preview Lab → · Contrast checker → · Palette generator →

#4073A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva