#3064AF#3064AF

#3064AF is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.7% C 0.132 H 257.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#3064AF
RGBrgb(48, 100, 175)
HSLhsl(215, 57%, 44%)
HSVhsv(215, 73%, 69%)
CMYKcmyk(72.6%, 42.9%, 0%, 31.4%)
CIE-LABlab(42.52, 8.73, -45.06)
CIE-LCHlch(42.52, 45.90, 280.96°)
OKLaboklab(50.69% -0.0277 -0.1288)
OKLCHoklch(50.69% 0.132 257.8)
XYZxyz(13.5111, 12.8364, 42.3147)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3064AF #AF7B30
analogous
#30A3AF #3064AF #3B30AF
triadic
#3064AF #AF3064 #64AF30
tetradic
#3064AF #AF30A3 #AF7B30 #30AF3B
square
#3064AF #AF30A3 #AF7B30 #30AF3B
split-complementary
#3064AF #AF3B30 #A3AF30
monochromatic
#162D4F #23497F #3064AF #4E82CE #7EA4DC

Accessibility & contrast

On white

5.89
#3064AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#3064AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3064AF
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3064AF#FFFFFF#000000##FFFFFF
##3064AF1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406BB2
Deuteranopia (green-blind)
#2A5FAD
Tritanopia (blue-blind)
#007681
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3064af;
/* rgb */ color: rgb(48, 100, 175);
/* oklch */ color: oklch(50.7% 0.132 257.8);
Tailwind
colors: {
  custom: {
    50: '#788fc7',
    500: '#3064af',
    950: '#000000',
  },
}
SCSS
$custom: #3064af;
$custom-light: #788fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3064af",
  "rgb": {
    "r": 48,
    "g": 100,
    "b": 175
  },
  "hsl": {
    "h": 215.433,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50692,
    "c": 0.13176,
    "h": 257.8
  },
  "luminance": 0.12838
}

Semantic roles & 50–950 ramp

primary
#3064AF
secondary
#C4A476
accent
#A248E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3064AF

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

Preview Lab → · Contrast checker → · Palette generator →

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