#3064BD#3064BD

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

Color values

HEX#3064BD
RGBrgb(48, 100, 189)
HSLhsl(218, 59%, 46%)
HSVhsv(218, 75%, 74%)
CMYKcmyk(74.6%, 47.1%, 0%, 25.9%)
CIE-LABlab(43.38, 13.99, -51.85)
CIE-LCHlch(43.38, 53.70, 285.10°)
OKLaboklab(51.64% -0.0252 -0.1488)
OKLCHoklch(51.64% 0.151 260.4)
XYZxyz(14.9581, 13.4152, 49.9353)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3064BD #BD8930
analogous
#30ABBD #3064BD #4230BD
triadic
#3064BD #BD3064 #64BD30
tetradic
#3064BD #BD30AB #BD8930 #30BD42
square
#3064BD #BD30AB #BD8930 #30BD42
split-complementary
#3064BD #BD4230 #ABBD30
monochromatic
#17305B #244A8C #3064BD #5685D4 #87A8E0

Accessibility & contrast

On white

5.70
#3064BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#3064BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3064BD
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3064BD#FFFFFF#000000##FFFFFF
##3064BD1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346DC0
Deuteranopia (green-blind)
#0E60BB
Tritanopia (blue-blind)
#007987
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3064bd;
/* rgb */ color: rgb(48, 100, 189);
/* oklch */ color: oklch(51.6% 0.151 260.4);
Tailwind
colors: {
  custom: {
    50: '#7b8fd1',
    500: '#3064bd',
    950: '#000000',
  },
}
SCSS
$custom: #3064bd;
$custom-light: #7b8fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3064bd",
  "rgb": {
    "r": 48,
    "g": 100,
    "b": 189
  },
  "hsl": {
    "h": 217.872,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5164,
    "c": 0.15088,
    "h": 260.4
  },
  "luminance": 0.13417
}

Semantic roles & 50–950 ramp

primary
#3064BD
secondary
#CAAE7F
accent
#A945E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3064BD

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

Preview Lab → · Contrast checker → · Palette generator →

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