#4078AA#4078AA

#4078AA is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.7% C 0.098 H 247.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4078AA
RGBrgb(64, 120, 170)
HSLhsl(208, 45%, 46%)
HSVhsv(208, 62%, 67%)
CMYKcmyk(62.4%, 29.4%, 0%, 33.3%)
CIE-LABlab(48.79, -2.71, -32.17)
CIE-LCHlch(48.79, 32.29, 265.19°)
OKLaboklab(55.68% -0.0376 -0.0907)
OKLCHoklch(55.68% 0.098 247.5)
XYZxyz(16.0839, 17.4237, 40.5379)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4078AA #AA7240
analogous
#40AAA7 #4078AA #4043AA
triadic
#4078AA #AA4078 #78AA40
tetradic
#4078AA #A740AA #AA7240 #43AA40
square
#4078AA #A740AA #AA7240 #43AA40
split-complementary
#4078AA #AA4043 #AAA740
monochromatic
#1F3951 #2F597E #4078AA #6396C4 #8FB4D5

Accessibility & contrast

On white

4.68
#4078AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#4078AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4078AA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4078AA#FFFFFF#000000##FFFFFF
##4078AA1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627AAC
Deuteranopia (green-blind)
#546FA9
Tritanopia (blue-blind)
#00848A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4078aa;
/* rgb */ color: rgb(64, 120, 170);
/* oklch */ color: oklch(55.7% 0.098 247.5);
Tailwind
colors: {
  custom: {
    50: '#7f9ec3',
    500: '#4078aa',
    950: '#000000',
  },
}
SCSS
$custom: #4078aa;
$custom-light: #7f9ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#4078aa",
  "rgb": {
    "r": 64,
    "g": 120,
    "b": 170
  },
  "hsl": {
    "h": 208.302,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55683,
    "c": 0.09813,
    "h": 247.5
  },
  "luminance": 0.17425
}

Semantic roles & 50–950 ramp

primary
#4078AA
secondary
#C0A186
accent
#9053D5
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E12
muted
#7C7E81

Preview Lab

Preview with #4078AA

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

Preview Lab → · Contrast checker → · Palette generator →

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