#3064C2#3064C2

#3064C2 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.0% C 0.158 H 261.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#3064C2
RGBrgb(48, 100, 194)
HSLhsl(219, 60%, 47%)
HSVhsv(219, 75%, 76%)
CMYKcmyk(75.3%, 48.5%, 0%, 23.9%)
CIE-LABlab(43.71, 15.88, -54.23)
CIE-LCHlch(43.71, 56.51, 286.32°)
OKLaboklab(51.99% -0.0244 -0.1558)
OKLCHoklch(51.99% 0.158 261.1)
XYZxyz(15.5102, 13.6360, 52.8431)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3064C2 #C28E30
analogous
#30ADC2 #3064C2 #4530C2
triadic
#3064C2 #C23064 #64C230
tetradic
#3064C2 #C230AD #C28E30 #30C245
square
#3064C2 #C230AD #C28E30 #30C245
split-complementary
#3064C2 #C24530 #ADC230
monochromatic
#183160 #244B91 #3064C2 #5986D6 #8AAAE2

Accessibility & contrast

On white

5.63
#3064C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#3064C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3064C2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3064C2#FFFFFF#000000##FFFFFF
##3064C21.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6EC5
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#007A8A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3064c2;
/* rgb */ color: rgb(48, 100, 194);
/* oklch */ color: oklch(52.0% 0.158 261.1);
Tailwind
colors: {
  custom: {
    50: '#7c8fd5',
    500: '#3064c2',
    950: '#000000',
  },
}
SCSS
$custom: #3064c2;
$custom-light: #7c8fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3064c2",
  "rgb": {
    "r": 48,
    "g": 100,
    "b": 194
  },
  "hsl": {
    "h": 218.63,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51993,
    "c": 0.15767,
    "h": 261.1
  },
  "luminance": 0.13638
}

Semantic roles & 50–950 ramp

primary
#3064C2
secondary
#CCB282
accent
#AB44E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3064C2

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

Preview Lab → · Contrast checker → · Palette generator →

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