#3064B1#3064B1

#3064B1 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 50.8% C 0.135 H 258.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#3064B1
RGBrgb(48, 100, 177)
HSLhsl(216, 57%, 44%)
HSVhsv(216, 73%, 69%)
CMYKcmyk(72.9%, 43.5%, 0%, 30.6%)
CIE-LABlab(42.64, 9.48, -46.04)
CIE-LCHlch(42.64, 47.01, 281.63°)
OKLaboklab(50.82% -0.0273 -0.1317)
OKLCHoklch(50.82% 0.135 258.3)
XYZxyz(13.7090, 12.9156, 43.3569)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3064B1 #B17D30
analogous
#30A5B1 #3064B1 #3D30B1
triadic
#3064B1 #B13064 #64B130
tetradic
#3064B1 #B130A5 #B17D30 #30B13D
square
#3064B1 #B130A5 #B17D30 #30B13D
split-complementary
#3064B1 #B13D30 #A5B130
monochromatic
#162E51 #234981 #3064B1 #4F83CF #7FA5DC

Accessibility & contrast

On white

5.86
#3064B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#3064B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3064B1
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3064B1#FFFFFF#000000##FFFFFF
##3064B11.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6BB4
Deuteranopia (green-blind)
#275FAF
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3064b1;
/* rgb */ color: rgb(48, 100, 177);
/* oklch */ color: oklch(50.8% 0.135 258.3);
Tailwind
colors: {
  custom: {
    50: '#798fc9',
    500: '#3064b1',
    950: '#000000',
  },
}
SCSS
$custom: #3064b1;
$custom-light: #798fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3064b1",
  "rgb": {
    "r": 48,
    "g": 100,
    "b": 177
  },
  "hsl": {
    "h": 215.814,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50824,
    "c": 0.1345,
    "h": 258.3
  },
  "luminance": 0.12917
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3064B1

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

Preview Lab → · Contrast checker → · Palette generator →

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