#3060C4#3060C4

#3060C4 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.3% C 0.165 H 262.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#3060C4
RGBrgb(48, 96, 196)
HSLhsl(221, 61%, 48%)
HSVhsv(221, 76%, 77%)
CMYKcmyk(75.5%, 51%, 0%, 23.1%)
CIE-LABlab(42.73, 19.21, -56.96)
CIE-LCHlch(42.73, 60.12, 288.64°)
OKLaboklab(51.29% -0.0209 -0.1639)
OKLCHoklch(51.29% 0.165 262.7)
XYZxyz(15.3620, 12.9779, 53.9092)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3060C4 #C49430
analogous
#30AAC4 #3060C4 #4A30C4
triadic
#3060C4 #C43060 #60C430
tetradic
#3060C4 #C430AA #C49430 #30C44A
square
#3060C4 #C430AA #C49430 #30C44A
split-complementary
#3060C4 #C44A30 #AAC430
monochromatic
#183062 #244893 #3060C4 #5A83D7 #8CA8E3

Accessibility & contrast

On white

5.84
#3060C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3060C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3060C4
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3060C4#FFFFFF#000000##FFFFFF
##3060C41.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206CC8
Deuteranopia (green-blind)
#005EC2
Tritanopia (blue-blind)
#007889
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3060c4;
/* rgb */ color: rgb(48, 96, 196);
/* oklch */ color: oklch(51.3% 0.165 262.7);
Tailwind
colors: {
  custom: {
    50: '#7d8cd6',
    500: '#3060c4',
    950: '#000000',
  },
}
SCSS
$custom: #3060c4;
$custom-light: #7d8cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3060c4",
  "rgb": {
    "r": 48,
    "g": 96,
    "b": 196
  },
  "hsl": {
    "h": 220.541,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51289,
    "c": 0.16522,
    "h": 262.7
  },
  "luminance": 0.1298
}

Semantic roles & 50–950 ramp

primary
#3060C4
secondary
#CDB583
accent
#B044E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3060C4

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

Preview Lab → · Contrast checker → · Palette generator →

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