#3060BB#3060BB

#3060BB is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.6% C 0.153 H 261.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#3060BB
RGBrgb(48, 96, 187)
HSLhsl(219, 59%, 46%)
HSVhsv(219, 74%, 73%)
CMYKcmyk(74.3%, 48.7%, 0%, 26.7%)
CIE-LABlab(42.12, 15.82, -52.71)
CIE-LCHlch(42.12, 55.03, 286.70°)
OKLaboklab(50.63% -0.0221 -0.1514)
OKLCHoklch(50.63% 0.153 261.7)
XYZxyz(14.3682, 12.5804, 48.6751)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3060BB #BB8B30
analogous
#30A5BB #3060BB #4630BB
triadic
#3060BB #BB3060 #60BB30
tetradic
#3060BB #BB30A5 #BB8B30 #30BB46
square
#3060BB #BB30A5 #BB8B30 #30BB46
split-complementary
#3060BB #BB4630 #A5BB30
monochromatic
#172E5A #23478A #3060BB #5581D3 #86A5E0

Accessibility & contrast

On white

5.97
#3060BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#3060BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3060BB
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3060BB#FFFFFF#000000##FFFFFF
##3060BB1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6ABE
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#007684
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3060bb;
/* rgb */ color: rgb(48, 96, 187);
/* oklch */ color: oklch(50.6% 0.153 261.7);
Tailwind
colors: {
  custom: {
    50: '#7b8cd0',
    500: '#3060bb',
    950: '#000000',
  },
}
SCSS
$custom: #3060bb;
$custom-light: #7b8cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3060bb",
  "rgb": {
    "r": 48,
    "g": 96,
    "b": 187
  },
  "hsl": {
    "h": 219.281,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50633,
    "c": 0.15297,
    "h": 261.7
  },
  "luminance": 0.12582
}

Semantic roles & 50–950 ramp

primary
#3060BB
secondary
#C9AF7D
accent
#AC45E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3060BB

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

Preview Lab → · Contrast checker → · Palette generator →

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