#4078B3#4078B3

#4078B3 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 56.2% C 0.110 H 251.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4078B3
RGBrgb(64, 120, 179)
HSLhsl(211, 47%, 48%)
HSVhsv(211, 64%, 70%)
CMYKcmyk(64.2%, 33%, 0%, 29.8%)
CIE-LABlab(49.22, 0.38, -36.72)
CIE-LCHlch(49.22, 36.72, 270.60°)
OKLaboklab(56.17% -0.0349 -0.1039)
OKLCHoklch(56.17% 0.11 251.4)
XYZxyz(16.9645, 17.7760, 45.1762)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4078B3 #B37B40
analogous
#40B1B3 #4078B3 #4240B3
triadic
#4078B3 #B34078 #78B340
tetradic
#4078B3 #B340B1 #B37B40 #40B342
square
#4078B3 #B340B1 #B37B40 #40B342
split-complementary
#4078B3 #B34240 #B1B340
monochromatic
#203C59 #305A86 #4078B3 #6797C9 #94B6D9

Accessibility & contrast

On white

4.61
#4078B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#4078B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4078B3#FFFFFF#000000##FFFFFF
##4078B31.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E7BB6
Deuteranopia (green-blind)
#4F70B2
Tritanopia (blue-blind)
#00868D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4078b3;
/* rgb */ color: rgb(64, 120, 179);
/* oklch */ color: oklch(56.2% 0.110 251.4);
Tailwind
colors: {
  custom: {
    50: '#809eca',
    500: '#4078b3',
    950: '#000000',
  },
}
SCSS
$custom: #4078b3;
$custom-light: #809eca;
$custom-dark: #000000;
JSON
{
  "hex": "#4078b3",
  "rgb": {
    "r": 64,
    "g": 120,
    "b": 179
  },
  "hsl": {
    "h": 210.783,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56166,
    "c": 0.10956,
    "h": 251.4
  },
  "luminance": 0.17778
}

Semantic roles & 50–950 ramp

primary
#4078B3
secondary
#C4A88A
accent
#9651D7
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #4078B3

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

Preview Lab → · Contrast checker → · Palette generator →

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