#3060AB#3060AB

#3060AB is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.5% C 0.131 H 259.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#3060AB
RGBrgb(48, 96, 171)
HSLhsl(217, 56%, 43%)
HSVhsv(217, 72%, 67%)
CMYKcmyk(71.9%, 43.9%, 0%, 32.9%)
CIE-LABlab(41.11, 9.79, -44.96)
CIE-LCHlch(41.11, 46.01, 282.29°)
OKLaboklab(49.53% -0.0248 -0.1286)
OKLCHoklch(49.53% 0.131 259.1)
XYZxyz(12.7498, 11.9330, 40.1515)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3060AB #AB7B30
analogous
#309DAB #3060AB #3D30AB
triadic
#3060AB #AB3060 #60AB30
tetradic
#3060AB #AB309D #AB7B30 #30AB3D
square
#3060AB #AB309D #AB7B30 #30AB3D
split-complementary
#3060AB #AB3D30 #9DAB30
monochromatic
#152A4B #23457B #3060AB #4C7ECD #7BA0DA

Accessibility & contrast

On white

6.20
#3060AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#3060AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3060AB
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3060AB#FFFFFF#000000##FFFFFF
##3060AB1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B67AE
Deuteranopia (green-blind)
#255CA9
Tritanopia (blue-blind)
#00717D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3060ab;
/* rgb */ color: rgb(48, 96, 171);
/* oklch */ color: oklch(49.5% 0.131 259.1);
Tailwind
colors: {
  custom: {
    50: '#788cc4',
    500: '#3060ab',
    950: '#000000',
  },
}
SCSS
$custom: #3060ab;
$custom-light: #788cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3060ab",
  "rgb": {
    "r": 48,
    "g": 96,
    "b": 171
  },
  "hsl": {
    "h": 216.585,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49526,
    "c": 0.13093,
    "h": 259.1
  },
  "luminance": 0.11934
}

Semantic roles & 50–950 ramp

primary
#3060AB
secondary
#C3A474
accent
#A448DF
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3060AB

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

Preview Lab → · Contrast checker → · Palette generator →

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