#3064B9#3064B9

#3064B9 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.4% C 0.145 H 259.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#3064B9
RGBrgb(48, 100, 185)
HSLhsl(217, 59%, 46%)
HSVhsv(217, 74%, 73%)
CMYKcmyk(74.1%, 45.9%, 0%, 27.5%)
CIE-LABlab(43.13, 12.48, -49.93)
CIE-LCHlch(43.13, 51.47, 284.04°)
OKLaboklab(51.36% -0.0258 -0.1431)
OKLCHoklch(51.36% 0.145 259.8)
XYZxyz(14.5299, 13.2439, 47.6801)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3064B9 #B98530
analogous
#30A8B9 #3064B9 #4030B9
triadic
#3064B9 #B93064 #64B930
tetradic
#3064B9 #B930A8 #B98530 #30B940
square
#3064B9 #B930A8 #B98530 #30B940
split-complementary
#3064B9 #B94030 #A8B930
monochromatic
#172F58 #234A88 #3064B9 #5484D3 #84A7DF

Accessibility & contrast

On white

5.75
#3064B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#3064B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3064B9
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3064B9#FFFFFF#000000##FFFFFF
##3064B91.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386DBC
Deuteranopia (green-blind)
#1960B7
Tritanopia (blue-blind)
#007885
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3064b9;
/* rgb */ color: rgb(48, 100, 185);
/* oklch */ color: oklch(51.4% 0.145 259.8);
Tailwind
colors: {
  custom: {
    50: '#7b8fce',
    500: '#3064b9',
    950: '#000000',
  },
}
SCSS
$custom: #3064b9;
$custom-light: #7b8fce;
$custom-dark: #000000;
JSON
{
  "hex": "#3064b9",
  "rgb": {
    "r": 48,
    "g": 100,
    "b": 185
  },
  "hsl": {
    "h": 217.226,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51363,
    "c": 0.14543,
    "h": 259.8
  },
  "luminance": 0.13246
}

Semantic roles & 50–950 ramp

primary
#3064B9
secondary
#C9AC7C
accent
#A746E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3064B9

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

Preview Lab → · Contrast checker → · Palette generator →

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