#3064B5#3064B5

#3064B5 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.1% C 0.140 H 259.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#3064B5
RGBrgb(48, 100, 181)
HSLhsl(217, 58%, 45%)
HSVhsv(217, 73%, 71%)
CMYKcmyk(73.5%, 44.8%, 0%, 29%)
CIE-LABlab(42.88, 10.98, -47.99)
CIE-LCHlch(42.88, 49.23, 282.89°)
OKLaboklab(51.09% -0.0266 -0.1374)
OKLCHoklch(51.09% 0.14 259.1)
XYZxyz(14.1136, 13.0774, 45.4875)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3064B5 #B58130
analogous
#30A7B5 #3064B5 #3E30B5
triadic
#3064B5 #B53064 #64B530
tetradic
#3064B5 #B530A7 #B58130 #30B53E
square
#3064B5 #B530A7 #B58130 #30B53E
split-complementary
#3064B5 #B53E30 #A7B530
monochromatic
#162F54 #234985 #3064B5 #5183D1 #82A6DE

Accessibility & contrast

On white

5.81
#3064B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#3064B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3064B5
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3064B5#FFFFFF#000000##FFFFFF
##3064B51.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6CB8
Deuteranopia (green-blind)
#2160B3
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3064b5;
/* rgb */ color: rgb(48, 100, 181);
/* oklch */ color: oklch(51.1% 0.140 259.1);
Tailwind
colors: {
  custom: {
    50: '#7a8fcc',
    500: '#3064b5',
    950: '#000000',
  },
}
SCSS
$custom: #3064b5;
$custom-light: #7a8fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3064b5",
  "rgb": {
    "r": 48,
    "g": 100,
    "b": 181
  },
  "hsl": {
    "h": 216.541,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51091,
    "c": 0.13997,
    "h": 259.1
  },
  "luminance": 0.13079
}

Semantic roles & 50–950 ramp

primary
#3064B5
secondary
#C7A97A
accent
#A546E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3064B5

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

Preview Lab → · Contrast checker → · Palette generator →

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