#4078B7#4078B7

#4078B7 is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 56.4% C 0.115 H 252.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4078B7
RGBrgb(64, 120, 183)
HSLhsl(212, 48%, 48%)
HSVhsv(212, 65%, 72%)
CMYKcmyk(65%, 34.4%, 0%, 28.2%)
CIE-LABlab(49.42, 1.77, -38.71)
CIE-LCHlch(49.42, 38.75, 272.62°)
OKLaboklab(56.39% -0.0337 -0.1097)
OKLCHoklch(56.39% 0.115 252.9)
XYZxyz(17.3749, 17.9401, 47.3377)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4078B7 #B77F40
analogous
#40B3B7 #4078B7 #4440B7
triadic
#4078B7 #B74078 #78B740
tetradic
#4078B7 #B740B3 #B77F40 #40B744
square
#4078B7 #B740B3 #B77F40 #40B744
split-complementary
#4078B7 #B74440 #B3B740
monochromatic
#203D5C #305A8A #4078B7 #6997CB #97B7DB

Accessibility & contrast

On white

4.58
#4078B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#4078B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4078B7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4078B7#FFFFFF#000000##000000
##4078B71.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7CBA
Deuteranopia (green-blind)
#4C70B6
Tritanopia (blue-blind)
#00878F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4078b7;
/* rgb */ color: rgb(64, 120, 183);
/* oklch */ color: oklch(56.4% 0.115 252.9);
Tailwind
colors: {
  custom: {
    50: '#819ecd',
    500: '#4078b7',
    950: '#000000',
  },
}
SCSS
$custom: #4078b7;
$custom-light: #819ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#4078b7",
  "rgb": {
    "r": 64,
    "g": 120,
    "b": 183
  },
  "hsl": {
    "h": 211.765,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56389,
    "c": 0.11476,
    "h": 252.9
  },
  "luminance": 0.17942
}

Semantic roles & 50–950 ramp

primary
#4078B7
secondary
#C6AB8D
accent
#9850D8
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #4078B7

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

Preview Lab → · Contrast checker → · Palette generator →

#4078B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva