#4078BC#4078BC

#4078BC is a mid, vivid cyan. Relative luminance 0.182; OKLCH L 56.7% C 0.121 H 254.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4078BC
RGBrgb(64, 120, 188)
HSLhsl(213, 49%, 49%)
HSVhsv(213, 66%, 74%)
CMYKcmyk(66%, 36.2%, 0%, 26.3%)
CIE-LABlab(49.68, 3.52, -41.19)
CIE-LCHlch(49.68, 41.34, 274.89°)
OKLaboklab(56.67% -0.0324 -0.1169)
OKLCHoklch(56.67% 0.121 254.5)
XYZxyz(17.9046, 18.1520, 50.1273)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4078BC #BC8440
analogous
#40B6BC #4078BC #4640BC
triadic
#4078BC #BC4078 #78BC40
tetradic
#4078BC #BC40B6 #BC8440 #40BC46
square
#4078BC #BC40B6 #BC8440 #40BC46
split-complementary
#4078BC #BC4640 #B6BC40
monochromatic
#213E61 #305B8E #4078BC #6C98CD #9AB8DD

Accessibility & contrast

On white

4.53
#4078BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#4078BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4078BC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4078BC#FFFFFF#000000##000000
##4078BC1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7DBF
Deuteranopia (green-blind)
#4971BB
Tritanopia (blue-blind)
#008891
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4078bc;
/* rgb */ color: rgb(64, 120, 188);
/* oklch */ color: oklch(56.7% 0.121 254.5);
Tailwind
colors: {
  custom: {
    50: '#819ed0',
    500: '#4078bc',
    950: '#000000',
  },
}
SCSS
$custom: #4078bc;
$custom-light: #819ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#4078bc",
  "rgb": {
    "r": 64,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 212.903,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56673,
    "c": 0.12134,
    "h": 254.5
  },
  "luminance": 0.18154
}

Semantic roles & 50–950 ramp

primary
#4078BC
secondary
#C9AF8F
accent
#9B4FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #4078BC

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

Preview Lab → · Contrast checker → · Palette generator →

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