#3078B8#3078B8

#3078B8 is a mid, vivid cyan. Relative luminance 0.175; OKLCH L 55.8% C 0.122 H 248.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#3078B8
RGBrgb(48, 120, 184)
HSLhsl(208, 59%, 45%)
HSVhsv(208, 74%, 72%)
CMYKcmyk(73.9%, 34.8%, 0%, 27.8%)
CIE-LABlab(48.91, -0.38, -40.14)
CIE-LCHlch(48.91, 40.14, 269.45°)
OKLaboklab(55.84% -0.0444 -0.1141)
OKLCHoklch(55.84% 0.122 248.7)
XYZxyz(16.5838, 17.5201, 47.8458)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3078B8 #B87030
analogous
#30B8B4 #3078B8 #3034B8
triadic
#3078B8 #B83078 #78B830
tetradic
#3078B8 #B430B8 #B87030 #34B830
square
#3078B8 #B430B8 #B87030 #34B830
split-complementary
#3078B8 #B83034 #B8B430
monochromatic
#173957 #235887 #3078B8 #5396D2 #84B4DF

Accessibility & contrast

On white

4.66
#3078B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#3078B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3078B8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3078B8#FFFFFF#000000##FFFFFF
##3078B81.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B7BBB
Deuteranopia (green-blind)
#476EB7
Tritanopia (blue-blind)
#00878F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3078b8;
/* rgb */ color: rgb(48, 120, 184);
/* oklch */ color: oklch(55.8% 0.122 248.7);
Tailwind
colors: {
  custom: {
    50: '#7a9ecd',
    500: '#3078b8',
    950: '#000000',
  },
}
SCSS
$custom: #3078b8;
$custom-light: #7a9ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#3078b8",
  "rgb": {
    "r": 48,
    "g": 120,
    "b": 184
  },
  "hsl": {
    "h": 208.235,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55844,
    "c": 0.12239,
    "h": 248.7
  },
  "luminance": 0.17522
}

Semantic roles & 50–950 ramp

primary
#3078B8
secondary
#C8A07C
accent
#8F46E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3078B8

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

Preview Lab → · Contrast checker → · Palette generator →

#3078B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva