#3064C5#3064C5

#3064C5 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.2% C 0.162 H 261.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#3064C5
RGBrgb(48, 100, 197)
HSLhsl(219, 61%, 48%)
HSVhsv(219, 76%, 77%)
CMYKcmyk(75.6%, 49.2%, 0%, 22.7%)
CIE-LABlab(43.90, 17.01, -55.65)
CIE-LCHlch(43.90, 58.19, 286.99°)
OKLaboklab(52.21% -0.024 -0.1599)
OKLCHoklch(52.21% 0.162 261.5)
XYZxyz(15.8505, 13.7721, 54.6354)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3064C5 #C59130
analogous
#30AEC5 #3064C5 #4630C5
triadic
#3064C5 #C53064 #64C530
tetradic
#3064C5 #C530AE #C59130 #30C546
square
#3064C5 #C530AE #C59130 #30C546
split-complementary
#3064C5 #C54630 #AEC530
monochromatic
#183263 #244B94 #3064C5 #5B86D7 #8CABE3

Accessibility & contrast

On white

5.59
#3064C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#3064C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3064C5
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3064C5#FFFFFF#000000##FFFFFF
##3064C51.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6FC9
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#007B8B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3064c5;
/* rgb */ color: rgb(48, 100, 197);
/* oklch */ color: oklch(52.2% 0.162 261.5);
Tailwind
colors: {
  custom: {
    50: '#7d8fd7',
    500: '#3064c5',
    950: '#000000',
  },
}
SCSS
$custom: #3064c5;
$custom-light: #7d8fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3064c5",
  "rgb": {
    "r": 48,
    "g": 100,
    "b": 197
  },
  "hsl": {
    "h": 219.06,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52208,
    "c": 0.16172,
    "h": 261.5
  },
  "luminance": 0.13774
}

Semantic roles & 50–950 ramp

primary
#3064C5
secondary
#CDB484
accent
#AC44E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3064C5

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

Preview Lab → · Contrast checker → · Palette generator →

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