#3064AD#3064AD

#3064AD is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.6% C 0.129 H 257.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#3064AD
RGBrgb(48, 100, 173)
HSLhsl(215, 57%, 43%)
HSVhsv(215, 72%, 68%)
CMYKcmyk(72.3%, 42.2%, 0%, 32.2%)
CIE-LABlab(42.40, 7.98, -44.08)
CIE-LCHlch(42.40, 44.79, 280.26°)
OKLaboklab(50.56% -0.0282 -0.1259)
OKLCHoklch(50.56% 0.129 257.4)
XYZxyz(13.3162, 12.7584, 41.2879)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3064AD #AD7930
analogous
#30A2AD #3064AD #3A30AD
triadic
#3064AD #AD3064 #64AD30
tetradic
#3064AD #AD30A2 #AD7930 #30AD3A
square
#3064AD #AD30A2 #AD7930 #30AD3A
split-complementary
#3064AD #AD3A30 #A2AD30
monochromatic
#152D4D #23487D #3064AD #4D82CE #7DA4DB

Accessibility & contrast

On white

5.91
#3064AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#3064AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3064AD
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3064AD#FFFFFF#000000##FFFFFF
##3064AD1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416AB0
Deuteranopia (green-blind)
#2C5FAC
Tritanopia (blue-blind)
#007580
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3064ad;
/* rgb */ color: rgb(48, 100, 173);
/* oklch */ color: oklch(50.6% 0.129 257.4);
Tailwind
colors: {
  custom: {
    50: '#788fc6',
    500: '#3064ad',
    950: '#000000',
  },
}
SCSS
$custom: #3064ad;
$custom-light: #788fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#3064ad",
  "rgb": {
    "r": 48,
    "g": 100,
    "b": 173
  },
  "hsl": {
    "h": 215.04,
    "s": 56.561,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50561,
    "c": 0.12902,
    "h": 257.4
  },
  "luminance": 0.1276
}

Semantic roles & 50–950 ramp

primary
#3064AD
secondary
#C3A375
accent
#A148E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3064AD

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

Preview Lab → · Contrast checker → · Palette generator →

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