#3060B8#3060B8

#3060B8 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.4% C 0.149 H 261.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#3060B8
RGBrgb(48, 96, 184)
HSLhsl(219, 59%, 45%)
HSVhsv(219, 74%, 72%)
CMYKcmyk(73.9%, 47.8%, 0%, 27.8%)
CIE-LABlab(41.93, 14.69, -51.28)
CIE-LCHlch(41.93, 53.34, 285.98°)
OKLaboklab(50.42% -0.0225 -0.1471)
OKLCHoklch(50.42% 0.149 261.3)
XYZxyz(14.0504, 12.4533, 47.0013)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3060B8 #B88830
analogous
#30A4B8 #3060B8 #4430B8
triadic
#3060B8 #B83060 #60B830
tetradic
#3060B8 #B830A4 #B88830 #30B844
square
#3060B8 #B830A4 #B88830 #30B844
split-complementary
#3060B8 #B84430 #A4B830
monochromatic
#172D57 #234787 #3060B8 #5380D2 #84A4DF

Accessibility & contrast

On white

6.02
#3060B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#3060B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3060B8
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3060B8#FFFFFF#000000##FFFFFF
##3060B81.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306ABB
Deuteranopia (green-blind)
#075DB6
Tritanopia (blue-blind)
#007583
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3060b8;
/* rgb */ color: rgb(48, 96, 184);
/* oklch */ color: oklch(50.4% 0.149 261.3);
Tailwind
colors: {
  custom: {
    50: '#7a8cce',
    500: '#3060b8',
    950: '#000000',
  },
}
SCSS
$custom: #3060b8;
$custom-light: #7a8cce;
$custom-dark: #000000;
JSON
{
  "hex": "#3060b8",
  "rgb": {
    "r": 48,
    "g": 96,
    "b": 184
  },
  "hsl": {
    "h": 218.824,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50419,
    "c": 0.14886,
    "h": 261.3
  },
  "luminance": 0.12455
}

Semantic roles & 50–950 ramp

primary
#3060B8
secondary
#C8AD7C
accent
#AB46E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3060B8

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

Preview Lab → · Contrast checker → · Palette generator →

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