#3060BA#3060BA

#3060BA is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.6% C 0.152 H 261.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#3060BA
RGBrgb(48, 96, 186)
HSLhsl(219, 59%, 46%)
HSVhsv(219, 74%, 73%)
CMYKcmyk(74.2%, 48.4%, 0%, 27.1%)
CIE-LABlab(42.06, 15.44, -52.23)
CIE-LCHlch(42.06, 54.47, 286.47°)
OKLaboklab(50.56% -0.0222 -0.15)
OKLCHoklch(50.56% 0.152 261.6)
XYZxyz(14.2615, 12.5377, 48.1133)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3060BA #BA8A30
analogous
#30A5BA #3060BA #4530BA
triadic
#3060BA #BA3060 #60BA30
tetradic
#3060BA #BA30A5 #BA8A30 #30BA45
square
#3060BA #BA30A5 #BA8A30 #30BA45
split-complementary
#3060BA #BA4530 #A5BA30
monochromatic
#172E59 #234789 #3060BA #5480D3 #85A4DF

Accessibility & contrast

On white

5.99
#3060BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#3060BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3060BA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3060BA#FFFFFF#000000##FFFFFF
##3060BA1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6ABD
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3060ba;
/* rgb */ color: rgb(48, 96, 186);
/* oklch */ color: oklch(50.6% 0.152 261.6);
Tailwind
colors: {
  custom: {
    50: '#7b8ccf',
    500: '#3060ba',
    950: '#000000',
  },
}
SCSS
$custom: #3060ba;
$custom-light: #7b8ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#3060ba",
  "rgb": {
    "r": 48,
    "g": 96,
    "b": 186
  },
  "hsl": {
    "h": 219.13,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50561,
    "c": 0.15161,
    "h": 261.6
  },
  "luminance": 0.12539
}

Semantic roles & 50–950 ramp

primary
#3060BA
secondary
#C9AE7D
accent
#AC46E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3060BA

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

Preview Lab → · Contrast checker → · Palette generator →

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