#3054C6#3054C6

#3054C6 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.0% C 0.183 H 266.3°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#3054C6
RGBrgb(48, 84, 198)
HSLhsl(226, 61%, 48%)
HSVhsv(226, 76%, 78%)
CMYKcmyk(75.8%, 57.6%, 0%, 22.4%)
CIE-LABlab(39.66, 27.75, -63.11)
CIE-LCHlch(39.66, 68.94, 293.74°)
OKLaboklab(49.01% -0.0118 -0.1822)
OKLCHoklch(49.01% 0.183 266.3)
XYZxyz(14.5787, 11.0446, 54.7786)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3054C6 #C6A230
analogous
#309FC6 #3054C6 #5730C6
triadic
#3054C6 #C63054 #54C630
tetradic
#3054C6 #C6309F #C6A230 #30C657
square
#3054C6 #C6309F #C6A230 #30C657
split-complementary
#3054C6 #C65730 #9FC630
monochromatic
#182A63 #243F95 #3054C6 #5C79D7 #8DA2E3

Accessibility & contrast

On white

6.54
#3054C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#3054C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3054C6
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3054C6#FFFFFF#000000##FFFFFF
##3054C61.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CA
Deuteranopia (green-blind)
#0057C4
Tritanopia (blue-blind)
#007085
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3054c6;
/* rgb */ color: rgb(48, 84, 198);
/* oklch */ color: oklch(49.0% 0.183 266.3);
Tailwind
colors: {
  custom: {
    50: '#7e83d8',
    500: '#3054c6',
    950: '#000000',
  },
}
SCSS
$custom: #3054c6;
$custom-light: #7e83d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3054c6",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 198
  },
  "hsl": {
    "h": 225.6,
    "s": 60.976,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49011,
    "c": 0.18254,
    "h": 266.3
  },
  "luminance": 0.11046
}

Semantic roles & 50–950 ramp

primary
#3054C6
secondary
#CEBC84
accent
#BE44E4
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0A15
muted
#7C7C83

Preview Lab

Preview with #3054C6

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

Preview Lab → · Contrast checker → · Palette generator →

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