#3060B6#3060B6

#3060B6 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.3% C 0.146 H 261.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#3060B6
RGBrgb(48, 96, 182)
HSLhsl(219, 58%, 45%)
HSVhsv(219, 74%, 71%)
CMYKcmyk(73.6%, 47.3%, 0%, 28.6%)
CIE-LABlab(41.80, 13.93, -50.32)
CIE-LCHlch(41.80, 52.21, 285.48°)
OKLaboklab(50.28% -0.0228 -0.1443)
OKLCHoklch(50.28% 0.146 261)
XYZxyz(13.8423, 12.3700, 45.9050)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3060B6 #B68630
analogous
#30A3B6 #3060B6 #4330B6
triadic
#3060B6 #B63060 #60B630
tetradic
#3060B6 #B630A3 #B68630 #30B643
square
#3060B6 #B630A3 #B68630 #30B643
split-complementary
#3060B6 #B64330 #A3B630
monochromatic
#162D55 #234686 #3060B6 #5280D1 #82A3DE

Accessibility & contrast

On white

6.04
#3060B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#3060B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3060B6
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3060B6#FFFFFF#000000##FFFFFF
##3060B61.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3269B9
Deuteranopia (green-blind)
#0F5DB4
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3060b6;
/* rgb */ color: rgb(48, 96, 182);
/* oklch */ color: oklch(50.3% 0.146 261.0);
Tailwind
colors: {
  custom: {
    50: '#7a8ccc',
    500: '#3060b6',
    950: '#000000',
  },
}
SCSS
$custom: #3060b6;
$custom-light: #7a8ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#3060b6",
  "rgb": {
    "r": 48,
    "g": 96,
    "b": 182
  },
  "hsl": {
    "h": 218.507,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50278,
    "c": 0.14612,
    "h": 261
  },
  "luminance": 0.12372
}

Semantic roles & 50–950 ramp

primary
#3060B6
secondary
#C7AC7B
accent
#AA46E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3060B6

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

Preview Lab → · Contrast checker → · Palette generator →

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