#3060A4#3060A4

#3060A4 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.1% C 0.121 H 257.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#3060A4
RGBrgb(48, 96, 164)
HSLhsl(215, 55%, 42%)
HSVhsv(215, 71%, 64%)
CMYKcmyk(70.7%, 41.5%, 0%, 35.7%)
CIE-LABlab(40.69, 7.17, -41.48)
CIE-LCHlch(40.69, 42.09, 279.80°)
OKLaboklab(49.07% -0.0263 -0.1184)
OKLCHoklch(49.07% 0.121 257.5)
XYZxyz(12.1002, 11.6732, 36.7302)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3060A4 #A47430
analogous
#309AA4 #3060A4 #3A30A4
triadic
#3060A4 #A43060 #60A430
tetradic
#3060A4 #A4309A #A47430 #30A43A
square
#3060A4 #A4309A #A47430 #30A43A
split-complementary
#3060A4 #A43A30 #9AA430
monochromatic
#142945 #224475 #3060A4 #487DC9 #779FD7

Accessibility & contrast

On white

6.30
#3060A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#3060A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3060A4
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3060A4#FFFFFF#000000##FFFFFF
##3060A41.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4066A7
Deuteranopia (green-blind)
#2E5BA3
Tritanopia (blue-blind)
#00707A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3060a4;
/* rgb */ color: rgb(48, 96, 164);
/* oklch */ color: oklch(49.1% 0.121 257.5);
Tailwind
colors: {
  custom: {
    50: '#768cbf',
    500: '#3060a4',
    950: '#000000',
  },
}
SCSS
$custom: #3060a4;
$custom-light: #768cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3060a4",
  "rgb": {
    "r": 48,
    "g": 96,
    "b": 164
  },
  "hsl": {
    "h": 215.172,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49067,
    "c": 0.12124,
    "h": 257.5
  },
  "luminance": 0.11674
}

Semantic roles & 50–950 ramp

primary
#3060A4
secondary
#BF9F70
accent
#A14ADE
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3060A4

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

Preview Lab → · Contrast checker → · Palette generator →

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