#3060B4#3060B4

#3060B4 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.1% C 0.143 H 260.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#3060B4
RGBrgb(48, 96, 180)
HSLhsl(218, 58%, 45%)
HSVhsv(218, 73%, 71%)
CMYKcmyk(73.3%, 46.7%, 0%, 29.4%)
CIE-LABlab(41.67, 13.18, -49.35)
CIE-LCHlch(41.67, 51.08, 284.95°)
OKLaboklab(50.14% -0.0232 -0.1415)
OKLCHoklch(50.14% 0.143 260.7)
XYZxyz(13.6370, 12.2879, 44.8243)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3060B4 #B48430
analogous
#30A2B4 #3060B4 #4230B4
triadic
#3060B4 #B43060 #60B430
tetradic
#3060B4 #B430A2 #B48430 #30B442
square
#3060B4 #B430A2 #B48430 #30B442
split-complementary
#3060B4 #B44230 #A2B430
monochromatic
#162C53 #234684 #3060B4 #517FD1 #81A3DD

Accessibility & contrast

On white

6.07
#3060B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#3060B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3060B4
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3060B4#FFFFFF#000000##FFFFFF
##3060B41.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3469B7
Deuteranopia (green-blind)
#155DB2
Tritanopia (blue-blind)
#007481
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3060b4;
/* rgb */ color: rgb(48, 96, 180);
/* oklch */ color: oklch(50.1% 0.143 260.7);
Tailwind
colors: {
  custom: {
    50: '#7a8ccb',
    500: '#3060b4',
    950: '#000000',
  },
}
SCSS
$custom: #3060b4;
$custom-light: #7a8ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#3060b4",
  "rgb": {
    "r": 48,
    "g": 96,
    "b": 180
  },
  "hsl": {
    "h": 218.182,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50139,
    "c": 0.14337,
    "h": 260.7
  },
  "luminance": 0.12289
}

Semantic roles & 50–950 ramp

primary
#3060B4
secondary
#C6AA79
accent
#A947E1
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3060B4

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

Preview Lab → · Contrast checker → · Palette generator →

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