#3066B7#3066B7

#3066B7 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 51.7% C 0.140 H 258.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#3066B7
RGBrgb(48, 102, 183)
HSLhsl(216, 58%, 45%)
HSVhsv(216, 74%, 72%)
CMYKcmyk(73.8%, 44.3%, 0%, 28.2%)
CIE-LABlab(43.58, 10.45, -48.04)
CIE-LCHlch(43.58, 49.17, 282.27°)
OKLaboklab(51.67% -0.028 -0.1375)
OKLCHoklch(51.67% 0.14 258.5)
XYZxyz(14.5144, 13.5484, 46.6407)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3066B7 #B78130
analogous
#30A9B7 #3066B7 #3D30B7
triadic
#3066B7 #B73066 #66B730
tetradic
#3066B7 #B730A9 #B78130 #30B73D
square
#3066B7 #B730A9 #B78130 #30B73D
split-complementary
#3066B7 #B73D30 #A9B730
monochromatic
#173056 #234B87 #3066B7 #5285D2 #83A8DE

Accessibility & contrast

On white

5.66
#3066B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#3066B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3066B7
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3066B7#FFFFFF#000000##FFFFFF
##3066B71.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6EBA
Deuteranopia (green-blind)
#2461B5
Tritanopia (blue-blind)
#007985
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3066b7;
/* rgb */ color: rgb(48, 102, 183);
/* oklch */ color: oklch(51.7% 0.140 258.5);
Tailwind
colors: {
  custom: {
    50: '#7a91cd',
    500: '#3066b7',
    950: '#000000',
  },
}
SCSS
$custom: #3066b7;
$custom-light: #7a91cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3066b7",
  "rgb": {
    "r": 48,
    "g": 102,
    "b": 183
  },
  "hsl": {
    "h": 216,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5167,
    "c": 0.14035,
    "h": 258.5
  },
  "luminance": 0.1355
}

Semantic roles & 50–950 ramp

primary
#3066B7
secondary
#C8A97B
accent
#A346E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3066B7

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

Preview Lab → · Contrast checker → · Palette generator →

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