#3064BB#3064BB

#3064BB is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.5% C 0.148 H 260.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#3064BB
RGBrgb(48, 100, 187)
HSLhsl(218, 59%, 46%)
HSVhsv(218, 74%, 73%)
CMYKcmyk(74.3%, 46.5%, 0%, 26.7%)
CIE-LABlab(43.25, 13.24, -50.89)
CIE-LCHlch(43.25, 52.59, 284.58°)
OKLaboklab(51.5% -0.0255 -0.1459)
OKLCHoklch(51.5% 0.148 260.1)
XYZxyz(14.7425, 13.3289, 48.7998)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3064BB #BB8730
analogous
#30A9BB #3064BB #4130BB
triadic
#3064BB #BB3064 #64BB30
tetradic
#3064BB #BB30A9 #BB8730 #30BB41
square
#3064BB #BB30A9 #BB8730 #30BB41
split-complementary
#3064BB #BB4130 #A9BB30
monochromatic
#17305A #234A8A #3064BB #5584D3 #86A7E0

Accessibility & contrast

On white

5.73
#3064BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#3064BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3064BB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3064BB#FFFFFF#000000##FFFFFF
##3064BB1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366DBE
Deuteranopia (green-blind)
#1560B9
Tritanopia (blue-blind)
#007986
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3064bb;
/* rgb */ color: rgb(48, 100, 187);
/* oklch */ color: oklch(51.5% 0.148 260.1);
Tailwind
colors: {
  custom: {
    50: '#7b8fd0',
    500: '#3064bb',
    950: '#000000',
  },
}
SCSS
$custom: #3064bb;
$custom-light: #7b8fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3064bb",
  "rgb": {
    "r": 48,
    "g": 100,
    "b": 187
  },
  "hsl": {
    "h": 217.554,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51501,
    "c": 0.14816,
    "h": 260.1
  },
  "luminance": 0.13331
}

Semantic roles & 50–950 ramp

primary
#3064BB
secondary
#C9AD7D
accent
#A845E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3064BB

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

Preview Lab → · Contrast checker → · Palette generator →

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