#3060B2#3060B2

#3060B2 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.0% C 0.141 H 260.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#3060B2
RGBrgb(48, 96, 178)
HSLhsl(218, 58%, 44%)
HSVhsv(218, 73%, 70%)
CMYKcmyk(73%, 46.1%, 0%, 30.2%)
CIE-LABlab(41.54, 12.42, -48.38)
CIE-LCHlch(41.54, 49.95, 284.40°)
OKLaboklab(50% -0.0235 -0.1386)
OKLCHoklch(50% 0.141 260.4)
XYZxyz(13.4348, 12.2070, 43.7590)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3060B2 #B28230
analogous
#30A1B2 #3060B2 #4130B2
triadic
#3060B2 #B23060 #60B230
tetradic
#3060B2 #B230A1 #B28230 #30B241
square
#3060B2 #B230A1 #B28230 #30B241
split-complementary
#3060B2 #B24130 #A1B230
monochromatic
#162C52 #234682 #3060B2 #507FD0 #80A2DD

Accessibility & contrast

On white

6.10
#3060B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#3060B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3060B2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3060B2#FFFFFF#000000##FFFFFF
##3060B21.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3668B5
Deuteranopia (green-blind)
#1A5CB0
Tritanopia (blue-blind)
#007380
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3060b2;
/* rgb */ color: rgb(48, 96, 178);
/* oklch */ color: oklch(50.0% 0.141 260.4);
Tailwind
colors: {
  custom: {
    50: '#798cc9',
    500: '#3060b2',
    950: '#000000',
  },
}
SCSS
$custom: #3060b2;
$custom-light: #798cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3060b2",
  "rgb": {
    "r": 48,
    "g": 96,
    "b": 178
  },
  "hsl": {
    "h": 217.846,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5,
    "c": 0.14061,
    "h": 260.4
  },
  "luminance": 0.12208
}

Semantic roles & 50–950 ramp

primary
#3060B2
secondary
#C6A978
accent
#A847E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3060B2

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

Preview Lab → · Contrast checker → · Palette generator →

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