#4078BD#4078BD

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

Color values

HEX#4078BD
RGBrgb(64, 120, 189)
HSLhsl(213, 49%, 50%)
HSVhsv(213, 66%, 74%)
CMYKcmyk(66.1%, 36.5%, 0%, 25.9%)
CIE-LABlab(49.73, 3.87, -41.68)
CIE-LCHlch(49.73, 41.86, 275.31°)
OKLaboklab(56.73% -0.0322 -0.1184)
OKLCHoklch(56.73% 0.123 254.8)
XYZxyz(18.0128, 18.1953, 50.6970)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4078BD #BD8540
analogous
#40B7BD #4078BD #4740BD
triadic
#4078BD #BD4078 #78BD40
tetradic
#4078BD #BD40B7 #BD8540 #40BD47
square
#4078BD #BD40B7 #BD8540 #40BD47
split-complementary
#4078BD #BD4740 #B7BD40
monochromatic
#213E62 #315B8F #4078BD #6D98CD #9AB8DD

Accessibility & contrast

On white

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

On black

4.64
#4078BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4078BD
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4078BD#FFFFFF#000000##000000
##4078BD1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7DC0
Deuteranopia (green-blind)
#4871BC
Tritanopia (blue-blind)
#008891
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4078bd;
/* rgb */ color: rgb(64, 120, 189);
/* oklch */ color: oklch(56.7% 0.123 254.8);
Tailwind
colors: {
  custom: {
    50: '#829ed1',
    500: '#4078bd',
    950: '#000000',
  },
}
SCSS
$custom: #4078bd;
$custom-light: #829ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#4078bd",
  "rgb": {
    "r": 64,
    "g": 120,
    "b": 189
  },
  "hsl": {
    "h": 213.12,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56731,
    "c": 0.12266,
    "h": 254.8
  },
  "luminance": 0.18197
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4078BD

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

Preview Lab → · Contrast checker → · Palette generator →

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