#3064BC#3064BC

#3064BC is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.6% C 0.150 H 260.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#3064BC
RGBrgb(48, 100, 188)
HSLhsl(218, 59%, 46%)
HSVhsv(218, 74%, 74%)
CMYKcmyk(74.5%, 46.8%, 0%, 26.3%)
CIE-LABlab(43.32, 13.61, -51.37)
CIE-LCHlch(43.32, 53.15, 284.84°)
OKLaboklab(51.57% -0.0253 -0.1474)
OKLCHoklch(51.57% 0.15 260.2)
XYZxyz(14.8499, 13.3719, 49.3656)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3064BC #BC8830
analogous
#30AABC #3064BC #4230BC
triadic
#3064BC #BC3064 #64BC30
tetradic
#3064BC #BC30AA #BC8830 #30BC42
square
#3064BC #BC30AA #BC8830 #30BC42
split-complementary
#3064BC #BC4230 #AABC30
monochromatic
#17305A #244A8B #3064BC #5584D4 #86A8E0

Accessibility & contrast

On white

5.71
#3064BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3064BC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3064BC#FFFFFF#000000##FFFFFF
##3064BC1.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356DBF
Deuteranopia (green-blind)
#1260BA
Tritanopia (blue-blind)
#007987
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3064bc;
/* rgb */ color: rgb(48, 100, 188);
/* oklch */ color: oklch(51.6% 0.150 260.2);
Tailwind
colors: {
  custom: {
    50: '#7b8fd1',
    500: '#3064bc',
    950: '#000000',
  },
}
SCSS
$custom: #3064bc;
$custom-light: #7b8fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3064bc",
  "rgb": {
    "r": 48,
    "g": 100,
    "b": 188
  },
  "hsl": {
    "h": 217.714,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5157,
    "c": 0.14952,
    "h": 260.2
  },
  "luminance": 0.13374
}

Semantic roles & 50–950 ramp

primary
#3064BC
secondary
#CAAE7E
accent
#A845E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3064BC

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

Preview Lab → · Contrast checker → · Palette generator →

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