#4078BB#4078BB

#4078BB is a mid, vivid cyan. Relative luminance 0.181; OKLCH L 56.6% C 0.120 H 254.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4078BB
RGBrgb(64, 120, 187)
HSLhsl(213, 49%, 49%)
HSVhsv(213, 66%, 73%)
CMYKcmyk(65.8%, 35.8%, 0%, 26.7%)
CIE-LABlab(49.63, 3.17, -40.70)
CIE-LCHlch(49.63, 40.82, 274.45°)
OKLaboklab(56.62% -0.0327 -0.1155)
OKLCHoklch(56.62% 0.12 254.2)
XYZxyz(17.7972, 18.1090, 49.5615)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4078BB #BB8340
analogous
#40B6BB #4078BB #4640BB
triadic
#4078BB #BB4078 #78BB40
tetradic
#4078BB #BB40B6 #BB8340 #40BB46
square
#4078BB #BB40B6 #BB8340 #40BB46
split-complementary
#4078BB #BB4640 #B6BB40
monochromatic
#213D60 #305B8D #4078BB #6C98CD #99B8DC

Accessibility & contrast

On white

4.54
#4078BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#4078BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4078BB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4078BB#FFFFFF#000000##000000
##4078BB1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7CBE
Deuteranopia (green-blind)
#4971BA
Tritanopia (blue-blind)
#008791
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4078bb;
/* rgb */ color: rgb(64, 120, 187);
/* oklch */ color: oklch(56.6% 0.120 254.2);
Tailwind
colors: {
  custom: {
    50: '#819ed0',
    500: '#4078bb',
    950: '#000000',
  },
}
SCSS
$custom: #4078bb;
$custom-light: #819ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#4078bb",
  "rgb": {
    "r": 64,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 212.683,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56616,
    "c": 0.12002,
    "h": 254.2
  },
  "luminance": 0.18111
}

Semantic roles & 50–950 ramp

primary
#4078BB
secondary
#C8AE8F
accent
#9A4FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #4078BB

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

Preview Lab → · Contrast checker → · Palette generator →

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