#3066BA#3066BA

#3066BA is a mid, vivid blue. Relative luminance 0.137; OKLCH L 51.9% C 0.144 H 259.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#3066BA
RGBrgb(48, 102, 186)
HSLhsl(217, 59%, 46%)
HSVhsv(217, 74%, 73%)
CMYKcmyk(74.2%, 45.2%, 0%, 27.1%)
CIE-LABlab(43.76, 11.58, -49.50)
CIE-LCHlch(43.76, 50.83, 283.17°)
OKLaboklab(51.87% -0.0274 -0.1418)
OKLCHoklch(51.87% 0.144 259.1)
XYZxyz(14.8300, 13.6746, 48.3027)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3066BA #BA8430
analogous
#30ABBA #3066BA #3F30BA
triadic
#3066BA #BA3066 #66BA30
tetradic
#3066BA #BA30AB #BA8430 #30BA3F
square
#3066BA #BA30AB #BA8430 #30BA3F
split-complementary
#3066BA #BA3F30 #ABBA30
monochromatic
#173159 #234B89 #3066BA #5486D3 #85A8DF

Accessibility & contrast

On white

5.62
#3066BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#3066BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3066BA
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3066BA#FFFFFF#000000##FFFFFF
##3066BA1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6EBD
Deuteranopia (green-blind)
#1E62B8
Tritanopia (blue-blind)
#007A87
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3066ba;
/* rgb */ color: rgb(48, 102, 186);
/* oklch */ color: oklch(51.9% 0.144 259.1);
Tailwind
colors: {
  custom: {
    50: '#7b91cf',
    500: '#3066ba',
    950: '#000000',
  },
}
SCSS
$custom: #3066ba;
$custom-light: #7b91cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3066ba",
  "rgb": {
    "r": 48,
    "g": 102,
    "b": 186
  },
  "hsl": {
    "h": 216.522,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51872,
    "c": 0.14442,
    "h": 259.1
  },
  "luminance": 0.13676
}

Semantic roles & 50–950 ramp

primary
#3066BA
secondary
#C9AB7D
accent
#A546E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3066BA

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

Preview Lab → · Contrast checker → · Palette generator →

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