#3078A2#3078A2

#3078A2 is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.6% C 0.096 H 237.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#3078A2
RGBrgb(48, 120, 162)
HSLhsl(202, 54%, 41%)
HSVhsv(202, 70%, 64%)
CMYKcmyk(70.4%, 25.9%, 0%, 36.5%)
CIE-LABlab(47.84, -8.29, -29.03)
CIE-LCHlch(47.84, 30.19, 254.07°)
OKLaboklab(54.65% -0.0513 -0.0817)
OKLCHoklch(54.65% 0.096 237.9)
XYZxyz(14.4544, 16.6684, 36.6309)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3078A2 #A25A30
analogous
#30A293 #3078A2 #303FA2
triadic
#3078A2 #A23078 #78A230
tetradic
#3078A2 #9330A2 #A25A30 #3FA230
square
#3078A2 #9330A2 #A25A30 #3FA230
split-complementary
#3078A2 #A2303F #A29330
monochromatic
#143244 #225573 #3078A2 #4799C8 #76B3D6

Accessibility & contrast

On white

4.85
#3078A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#3078A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3078A2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3078A2#FFFFFF#000000##FFFFFF
##3078A21.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6478A4
Deuteranopia (green-blind)
#556DA1
Tritanopia (blue-blind)
#008386
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3078a2;
/* rgb */ color: rgb(48, 120, 162);
/* oklch */ color: oklch(54.6% 0.096 237.9);
Tailwind
colors: {
  custom: {
    50: '#769ebd',
    500: '#3078a2',
    950: '#000000',
  },
}
SCSS
$custom: #3078a2;
$custom-light: #769ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#3078a2",
  "rgb": {
    "r": 48,
    "g": 120,
    "b": 162
  },
  "hsl": {
    "h": 202.105,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.54648,
    "c": 0.09649,
    "h": 237.9
  },
  "luminance": 0.1667
}

Semantic roles & 50–950 ramp

primary
#3078A2
secondary
#BE8C6F
accent
#804ADE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3078A2

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

Preview Lab → · Contrast checker → · Palette generator →

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