#4078BF#4078BF

#4078BF is a mid, vivid cyan. Relative luminance 0.183; OKLCH L 56.8% C 0.125 H 255.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4078BF
RGBrgb(64, 120, 191)
HSLhsl(214, 50%, 50%)
HSVhsv(214, 66%, 75%)
CMYKcmyk(66.5%, 37.2%, 0%, 25.1%)
CIE-LABlab(49.84, 4.58, -42.67)
CIE-LCHlch(49.84, 42.91, 276.12°)
OKLaboklab(56.85% -0.0317 -0.1212)
OKLCHoklch(56.85% 0.125 255.4)
XYZxyz(18.2314, 18.2827, 51.8482)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4078BF #BF8740
analogous
#40B8BF #4078BF #4740BF
triadic
#4078BF #BF4078 #78BF40
tetradic
#4078BF #BF40B8 #BF8740 #40BF47
square
#4078BF #BF40B8 #BF8740 #40BF47
split-complementary
#4078BF #BF4740 #B8BF40
monochromatic
#213E63 #315B91 #4078BF #6E98CE #9CB9DE

Accessibility & contrast

On white

4.51
#4078BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#4078BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4078BF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4078BF#FFFFFF#000000##000000
##4078BF1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#597DC2
Deuteranopia (green-blind)
#4671BE
Tritanopia (blue-blind)
#008892
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4078bf;
/* rgb */ color: rgb(64, 120, 191);
/* oklch */ color: oklch(56.8% 0.125 255.4);
Tailwind
colors: {
  custom: {
    50: '#829ed2',
    500: '#4078bf',
    950: '#000000',
  },
}
SCSS
$custom: #4078bf;
$custom-light: #829ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#4078bf",
  "rgb": {
    "r": 64,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 213.543,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.56847,
    "c": 0.12531,
    "h": 255.4
  },
  "luminance": 0.18285
}

Semantic roles & 50–950 ramp

primary
#4078BF
secondary
#CAB191
accent
#9C4ED9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4078BF

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

Preview Lab → · Contrast checker → · Palette generator →

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