#4078BA#4078BA

#4078BA is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.6% C 0.119 H 253.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4078BA
RGBrgb(64, 120, 186)
HSLhsl(212, 49%, 49%)
HSVhsv(212, 66%, 73%)
CMYKcmyk(65.6%, 35.5%, 0%, 27.1%)
CIE-LABlab(49.58, 2.82, -40.20)
CIE-LCHlch(49.58, 40.30, 274.01°)
OKLaboklab(56.56% -0.0329 -0.114)
OKLCHoklch(56.56% 0.119 253.9)
XYZxyz(17.6905, 18.0663, 48.9997)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4078BA #BA8240
analogous
#40B5BA #4078BA #4540BA
triadic
#4078BA #BA4078 #78BA40
tetradic
#4078BA #BA40B5 #BA8240 #40BA45
square
#4078BA #BA40B5 #BA8240 #40BA45
split-complementary
#4078BA #BA4540 #B5BA40
monochromatic
#213D5F #305B8C #4078BA #6B98CC #99B7DC

Accessibility & contrast

On white

4.55
#4078BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#4078BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4078BA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4078BA#FFFFFF#000000##000000
##4078BA1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7CBD
Deuteranopia (green-blind)
#4A71B9
Tritanopia (blue-blind)
#008790
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4078ba;
/* rgb */ color: rgb(64, 120, 186);
/* oklch */ color: oklch(56.6% 0.119 253.9);
Tailwind
colors: {
  custom: {
    50: '#819ecf',
    500: '#4078ba',
    950: '#000000',
  },
}
SCSS
$custom: #4078ba;
$custom-light: #819ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#4078ba",
  "rgb": {
    "r": 64,
    "g": 120,
    "b": 186
  },
  "hsl": {
    "h": 212.459,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56559,
    "c": 0.1187,
    "h": 253.9
  },
  "luminance": 0.18068
}

Semantic roles & 50–950 ramp

primary
#4078BA
secondary
#C8AD8E
accent
#9A4FD8
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #4078BA

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

Preview Lab → · Contrast checker → · Palette generator →

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