#3060B3#3060B3

#3060B3 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.1% C 0.142 H 260.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#3060B3
RGBrgb(48, 96, 179)
HSLhsl(218, 58%, 45%)
HSVhsv(218, 73%, 70%)
CMYKcmyk(73.2%, 46.4%, 0%, 29.8%)
CIE-LABlab(41.61, 12.80, -48.87)
CIE-LCHlch(41.61, 50.51, 284.68°)
OKLaboklab(50.07% -0.0233 -0.1401)
OKLCHoklch(50.07% 0.142 260.5)
XYZxyz(13.5355, 12.2473, 44.2897)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3060B3 #B38330
analogous
#30A2B3 #3060B3 #4130B3
triadic
#3060B3 #B33060 #60B330
tetradic
#3060B3 #B330A2 #B38330 #30B341
square
#3060B3 #B330A2 #B38330 #30B341
split-complementary
#3060B3 #B34130 #A2B330
monochromatic
#162C52 #234683 #3060B3 #507FD0 #80A2DD

Accessibility & contrast

On white

6.09
#3060B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#3060B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3060B3
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3060B3#FFFFFF#000000##FFFFFF
##3060B31.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3569B6
Deuteranopia (green-blind)
#175DB1
Tritanopia (blue-blind)
#007481
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3060b3;
/* rgb */ color: rgb(48, 96, 179);
/* oklch */ color: oklch(50.1% 0.142 260.5);
Tailwind
colors: {
  custom: {
    50: '#798cca',
    500: '#3060b3',
    950: '#000000',
  },
}
SCSS
$custom: #3060b3;
$custom-light: #798cca;
$custom-dark: #000000;
JSON
{
  "hex": "#3060b3",
  "rgb": {
    "r": 48,
    "g": 96,
    "b": 179
  },
  "hsl": {
    "h": 218.015,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50069,
    "c": 0.14199,
    "h": 260.5
  },
  "luminance": 0.12249
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3060B3

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

Preview Lab → · Contrast checker → · Palette generator →

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