#3054C4#3054C4

#3054C4 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.8% C 0.180 H 266.2°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#3054C4
RGBrgb(48, 84, 196)
HSLhsl(225, 61%, 48%)
HSVhsv(225, 76%, 77%)
CMYKcmyk(75.5%, 57.1%, 0%, 23.1%)
CIE-LABlab(39.50, 27.01, -62.20)
CIE-LCHlch(39.50, 67.81, 293.47°)
OKLaboklab(48.85% -0.0119 -0.1795)
OKLCHoklch(48.85% 0.18 266.2)
XYZxyz(14.3496, 10.9530, 53.5717)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3054C4 #C4A030
analogous
#309EC4 #3054C4 #5630C4
triadic
#3054C4 #C43054 #54C430
tetradic
#3054C4 #C4309E #C4A030 #30C456
square
#3054C4 #C4309E #C4A030 #30C456
split-complementary
#3054C4 #C45630 #9EC430
monochromatic
#182A62 #243F93 #3054C4 #5A79D7 #8CA1E3

Accessibility & contrast

On white

6.58
#3054C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3054C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3054C4
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3054C4#FFFFFF#000000##FFFFFF
##3054C41.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C8
Deuteranopia (green-blind)
#0056C2
Tritanopia (blue-blind)
#007084
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3054c4;
/* rgb */ color: rgb(48, 84, 196);
/* oklch */ color: oklch(48.8% 0.180 266.2);
Tailwind
colors: {
  custom: {
    50: '#7e83d7',
    500: '#3054c4',
    950: '#000000',
  },
}
SCSS
$custom: #3054c4;
$custom-light: #7e83d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3054c4",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 196
  },
  "hsl": {
    "h": 225.405,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48847,
    "c": 0.17988,
    "h": 266.2
  },
  "luminance": 0.10955
}

Semantic roles & 50–950 ramp

primary
#3054C4
secondary
#CDBB83
accent
#BD44E4
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3054C4

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

Preview Lab → · Contrast checker → · Palette generator →

#3054C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva