#3078DB#3078DB

#3078DB is a mid, vivid cyan. Relative luminance 0.192; OKLCH L 58.0% C 0.167 H 257.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3078DB
RGBrgb(48, 120, 219)
HSLhsl(215, 70%, 52%)
HSVhsv(215, 78%, 86%)
CMYKcmyk(78.1%, 45.2%, 0%, 14.1%)
CIE-LABlab(50.89, 12.59, -56.97)
CIE-LCHlch(50.89, 58.34, 282.46°)
OKLaboklab(58.03% -0.0364 -0.1635)
OKLCHoklch(58.03% 0.167 257.4)
XYZxyz(20.7169, 19.1733, 69.6131)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3078DB #DB9330
analogous
#30CDDB #3078DB #3E30DB
triadic
#3078DB #DB3078 #78DB30
tetradic
#3078DB #DB30CD #DB9330 #30DB3E
square
#3078DB #DB30CD #DB9330 #30DB3E
split-complementary
#3078DB #DB3E30 #CDDB30
monochromatic
#15407B #1E5BAF #3078DB #649AE4 #98BCED

Accessibility & contrast

On white

4.34
#3078DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#3078DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3078DB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3078DB#FFFFFF#000000##000000
##3078DB1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4481DF
Deuteranopia (green-blind)
#1B72D9
Tritanopia (blue-blind)
#00909F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3078db;
/* rgb */ color: rgb(48, 120, 219);
/* oklch */ color: oklch(58.0% 0.167 257.4);
Tailwind
colors: {
  custom: {
    50: '#819ee7',
    500: '#3078db',
    950: '#000000',
  },
}
SCSS
$custom: #3078db;
$custom-light: #819ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#3078db",
  "rgb": {
    "r": 48,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 214.737,
    "s": 70.37,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58029,
    "c": 0.16746,
    "h": 257.4
  },
  "luminance": 0.19176
}

Semantic roles & 50–950 ramp

primary
#3078DB
secondary
#D9B98E
accent
#A23BED
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #3078DB

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

Preview Lab → · Contrast checker → · Palette generator →

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