#4073B2#4073B2

#4073B2 is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 55.0% C 0.113 H 254.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4073B2
RGBrgb(64, 115, 178)
HSLhsl(213, 47%, 47%)
HSVhsv(213, 64%, 70%)
CMYKcmyk(64%, 35.4%, 0%, 30.2%)
CIE-LABlab(47.71, 3.07, -38.53)
CIE-LCHlch(47.71, 38.65, 274.56°)
OKLaboklab(54.96% -0.0298 -0.1092)
OKLCHoklch(54.96% 0.113 254.7)
XYZxyz(16.2781, 16.5643, 44.4502)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4073B2 #B27F40
analogous
#40ACB2 #4073B2 #4640B2
triadic
#4073B2 #B24073 #73B240
tetradic
#4073B2 #B240AC #B27F40 #40B246
square
#4073B2 #B240AC #B27F40 #40B246
split-complementary
#4073B2 #B24640 #ACB240
monochromatic
#203958 #305685 #4073B2 #6792C8 #94B3D8

Accessibility & contrast

On white

4.87
#4073B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#4073B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4073B2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4073B2#FFFFFF#000000##FFFFFF
##4073B21.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5877B5
Deuteranopia (green-blind)
#486CB1
Tritanopia (blue-blind)
#00818A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4073b2;
/* rgb */ color: rgb(64, 115, 178);
/* oklch */ color: oklch(55.0% 0.113 254.7);
Tailwind
colors: {
  custom: {
    50: '#809ac9',
    500: '#4073b2',
    950: '#000000',
  },
}
SCSS
$custom: #4073b2;
$custom-light: #809ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#4073b2",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 178
  },
  "hsl": {
    "h": 213.158,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54963,
    "c": 0.11321,
    "h": 254.7
  },
  "luminance": 0.16566
}

Semantic roles & 50–950 ramp

primary
#4073B2
secondary
#C4AA8A
accent
#9B51D7
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #4073B2

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

Preview Lab → · Contrast checker → · Palette generator →

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