#3066B4#3066B4

#3066B4 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.5% C 0.136 H 257.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#3066B4
RGBrgb(48, 102, 180)
HSLhsl(215, 58%, 45%)
HSVhsv(215, 73%, 71%)
CMYKcmyk(73.3%, 43.3%, 0%, 29.4%)
CIE-LABlab(43.40, 9.32, -46.58)
CIE-LCHlch(43.40, 47.51, 281.32°)
OKLaboklab(51.47% -0.0286 -0.1332)
OKLCHoklch(51.47% 0.136 257.9)
XYZxyz(14.2055, 13.4248, 45.0138)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3066B4 #B47E30
analogous
#30A8B4 #3066B4 #3C30B4
triadic
#3066B4 #B43066 #66B430
tetradic
#3066B4 #B430A8 #B47E30 #30B43C
square
#3066B4 #B430A8 #B47E30 #30B43C
split-complementary
#3066B4 #B43C30 #A8B430
monochromatic
#162F53 #234B84 #3066B4 #5185D1 #81A7DD

Accessibility & contrast

On white

5.70
#3066B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3066B4
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3066B4#FFFFFF#000000##FFFFFF
##3066B41.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406DB7
Deuteranopia (green-blind)
#2861B2
Tritanopia (blue-blind)
#007884
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3066b4;
/* rgb */ color: rgb(48, 102, 180);
/* oklch */ color: oklch(51.5% 0.136 257.9);
Tailwind
colors: {
  custom: {
    50: '#7991cb',
    500: '#3066b4',
    950: '#000000',
  },
}
SCSS
$custom: #3066b4;
$custom-light: #7991cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3066b4",
  "rgb": {
    "r": 48,
    "g": 102,
    "b": 180
  },
  "hsl": {
    "h": 215.455,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51471,
    "c": 0.13627,
    "h": 257.9
  },
  "luminance": 0.13426
}

Semantic roles & 50–950 ramp

primary
#3066B4
secondary
#C6A779
accent
#A247E1
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3066B4

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

Preview Lab → · Contrast checker → · Palette generator →

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