#3060C2#3060C2

#3060C2 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.1% C 0.163 H 262.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#3060C2
RGBrgb(48, 96, 194)
HSLhsl(220, 60%, 47%)
HSVhsv(220, 75%, 76%)
CMYKcmyk(75.3%, 50.5%, 0%, 23.9%)
CIE-LABlab(42.59, 18.46, -56.02)
CIE-LCHlch(42.59, 58.99, 288.24°)
OKLaboklab(51.14% -0.0211 -0.1611)
OKLCHoklch(51.14% 0.163 262.5)
XYZxyz(15.1359, 12.8875, 52.7183)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3060C2 #C29230
analogous
#30A9C2 #3060C2 #4930C2
triadic
#3060C2 #C23060 #60C230
tetradic
#3060C2 #C230A9 #C29230 #30C249
square
#3060C2 #C230A9 #C29230 #30C249
split-complementary
#3060C2 #C24930 #A9C230
monochromatic
#182F60 #244891 #3060C2 #5982D6 #8AA7E2

Accessibility & contrast

On white

5.87
#3060C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#3060C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3060C2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3060C2#FFFFFF#000000##FFFFFF
##3060C21.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236CC6
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#007888
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3060c2;
/* rgb */ color: rgb(48, 96, 194);
/* oklch */ color: oklch(51.1% 0.163 262.5);
Tailwind
colors: {
  custom: {
    50: '#7d8cd5',
    500: '#3060c2',
    950: '#000000',
  },
}
SCSS
$custom: #3060c2;
$custom-light: #7d8cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3060c2",
  "rgb": {
    "r": 48,
    "g": 96,
    "b": 194
  },
  "hsl": {
    "h": 220.274,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51141,
    "c": 0.1625,
    "h": 262.5
  },
  "luminance": 0.12889
}

Semantic roles & 50–950 ramp

primary
#3060C2
secondary
#CCB482
accent
#AF44E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3060C2

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

Preview Lab → · Contrast checker → · Palette generator →

#3060C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva