#3064B2#3064B2

#3064B2 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 50.9% C 0.136 H 258.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#3064B2
RGBrgb(48, 100, 178)
HSLhsl(216, 58%, 44%)
HSVhsv(216, 73%, 70%)
CMYKcmyk(73%, 43.8%, 0%, 30.2%)
CIE-LABlab(42.70, 9.85, -46.53)
CIE-LCHlch(42.70, 47.56, 281.95°)
OKLaboklab(50.89% -0.0271 -0.1331)
OKLCHoklch(50.89% 0.136 258.5)
XYZxyz(13.8091, 12.9556, 43.8838)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3064B2 #B27E30
analogous
#30A5B2 #3064B2 #3D30B2
triadic
#3064B2 #B23064 #64B230
tetradic
#3064B2 #B230A5 #B27E30 #30B23D
square
#3064B2 #B230A5 #B27E30 #30B23D
split-complementary
#3064B2 #B23D30 #A5B230
monochromatic
#162E52 #234982 #3064B2 #5083D0 #80A5DD

Accessibility & contrast

On white

5.85
#3064B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#3064B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3064B2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3064B2#FFFFFF#000000##FFFFFF
##3064B21.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6BB5
Deuteranopia (green-blind)
#265FB0
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3064b2;
/* rgb */ color: rgb(48, 100, 178);
/* oklch */ color: oklch(50.9% 0.136 258.5);
Tailwind
colors: {
  custom: {
    50: '#798fc9',
    500: '#3064b2',
    950: '#000000',
  },
}
SCSS
$custom: #3064b2;
$custom-light: #798fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3064b2",
  "rgb": {
    "r": 48,
    "g": 100,
    "b": 178
  },
  "hsl": {
    "h": 216,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5089,
    "c": 0.13587,
    "h": 258.5
  },
  "luminance": 0.12957
}

Semantic roles & 50–950 ramp

primary
#3064B2
secondary
#C6A778
accent
#A347E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3064B2

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

Preview Lab → · Contrast checker → · Palette generator →

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