#3066B5#3066B5

#3066B5 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.5% C 0.138 H 258.1°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#3066B5
RGBrgb(48, 102, 181)
HSLhsl(216, 58%, 45%)
HSVhsv(216, 73%, 71%)
CMYKcmyk(73.5%, 43.6%, 0%, 29%)
CIE-LABlab(43.46, 9.70, -47.07)
CIE-LCHlch(43.46, 48.06, 281.64°)
OKLaboklab(51.54% -0.0284 -0.1347)
OKLCHoklch(51.54% 0.138 258.1)
XYZxyz(14.3077, 13.4657, 45.5522)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3066B5 #B57F30
analogous
#30A9B5 #3066B5 #3C30B5
triadic
#3066B5 #B53066 #66B530
tetradic
#3066B5 #B530A9 #B57F30 #30B53C
square
#3066B5 #B530A9 #B57F30 #30B53C
split-complementary
#3066B5 #B53C30 #A9B530
monochromatic
#162F54 #234B85 #3066B5 #5185D1 #82A7DE

Accessibility & contrast

On white

5.69
#3066B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#3066B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3066B5
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3066B5#FFFFFF#000000##FFFFFF
##3066B51.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6DB8
Deuteranopia (green-blind)
#2761B3
Tritanopia (blue-blind)
#007984
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3066b5;
/* rgb */ color: rgb(48, 102, 181);
/* oklch */ color: oklch(51.5% 0.138 258.1);
Tailwind
colors: {
  custom: {
    50: '#7a91cc',
    500: '#3066b5',
    950: '#000000',
  },
}
SCSS
$custom: #3066b5;
$custom-light: #7a91cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3066b5",
  "rgb": {
    "r": 48,
    "g": 102,
    "b": 181
  },
  "hsl": {
    "h": 215.639,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51537,
    "c": 0.13762,
    "h": 258.1
  },
  "luminance": 0.13467
}

Semantic roles & 50–950 ramp

primary
#3066B5
secondary
#C7A87A
accent
#A246E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3066B5

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

Preview Lab → · Contrast checker → · Palette generator →

#3066B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva