#3064B3#3064B3

#3064B3 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.0% C 0.137 H 258.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#3064B3
RGBrgb(48, 100, 179)
HSLhsl(216, 58%, 45%)
HSVhsv(216, 73%, 70%)
CMYKcmyk(73.2%, 44.1%, 0%, 29.8%)
CIE-LABlab(42.76, 10.23, -47.02)
CIE-LCHlch(42.76, 48.12, 282.27°)
OKLaboklab(50.96% -0.0269 -0.1346)
OKLCHoklch(50.96% 0.137 258.7)
XYZxyz(13.9098, 12.9959, 44.4145)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3064B3 #B37F30
analogous
#30A6B3 #3064B3 #3E30B3
triadic
#3064B3 #B33064 #64B330
tetradic
#3064B3 #B330A6 #B37F30 #30B33E
square
#3064B3 #B330A6 #B37F30 #30B33E
split-complementary
#3064B3 #B33E30 #A6B330
monochromatic
#162E52 #234983 #3064B3 #5083D0 #80A5DD

Accessibility & contrast

On white

5.83
#3064B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3064B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3064B3
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3064B3#FFFFFF#000000##FFFFFF
##3064B31.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6BB6
Deuteranopia (green-blind)
#245FB1
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3064b3;
/* rgb */ color: rgb(48, 100, 179);
/* oklch */ color: oklch(51.0% 0.137 258.7);
Tailwind
colors: {
  custom: {
    50: '#798fca',
    500: '#3064b3',
    950: '#000000',
  },
}
SCSS
$custom: #3064b3;
$custom-light: #798fca;
$custom-dark: #000000;
JSON
{
  "hex": "#3064b3",
  "rgb": {
    "r": 48,
    "g": 100,
    "b": 179
  },
  "hsl": {
    "h": 216.183,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50957,
    "c": 0.13723,
    "h": 258.7
  },
  "luminance": 0.12997
}

Semantic roles & 50–950 ramp

primary
#3064B3
secondary
#C6A779
accent
#A447E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3064B3

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

Preview Lab → · Contrast checker → · Palette generator →

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