#3060B5#3060B5

#3060B5 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.2% C 0.145 H 260.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#3060B5
RGBrgb(48, 96, 181)
HSLhsl(218, 58%, 45%)
HSVhsv(218, 73%, 71%)
CMYKcmyk(73.5%, 47%, 0%, 29%)
CIE-LABlab(41.73, 13.56, -49.83)
CIE-LCHlch(41.73, 51.64, 285.22°)
OKLaboklab(50.21% -0.023 -0.1429)
OKLCHoklch(50.21% 0.145 260.9)
XYZxyz(13.7393, 12.3288, 45.3627)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3060B5 #B58530
analogous
#30A3B5 #3060B5 #4330B5
triadic
#3060B5 #B53060 #60B530
tetradic
#3060B5 #B530A3 #B58530 #30B543
square
#3060B5 #B530A3 #B58530 #30B543
split-complementary
#3060B5 #B54330 #A3B530
monochromatic
#162D54 #234685 #3060B5 #517FD1 #82A3DE

Accessibility & contrast

On white

6.06
#3060B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3060B5
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3060B5#FFFFFF#000000##FFFFFF
##3060B51.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3369B8
Deuteranopia (green-blind)
#125DB3
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3060b5;
/* rgb */ color: rgb(48, 96, 181);
/* oklch */ color: oklch(50.2% 0.145 260.9);
Tailwind
colors: {
  custom: {
    50: '#7a8ccc',
    500: '#3060b5',
    950: '#000000',
  },
}
SCSS
$custom: #3060b5;
$custom-light: #7a8ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#3060b5",
  "rgb": {
    "r": 48,
    "g": 96,
    "b": 181
  },
  "hsl": {
    "h": 218.346,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50208,
    "c": 0.14475,
    "h": 260.9
  },
  "luminance": 0.1233
}

Semantic roles & 50–950 ramp

primary
#3060B5
secondary
#C7AB7A
accent
#A946E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3060B5

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

Preview Lab → · Contrast checker → · Palette generator →

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