#3054B8#3054B8

#3054B8 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.9% C 0.164 H 265.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#3054B8
RGBrgb(48, 84, 184)
HSLhsl(224, 59%, 45%)
HSVhsv(224, 74%, 72%)
CMYKcmyk(73.9%, 54.3%, 0%, 27.8%)
CIE-LABlab(38.60, 22.52, -56.65)
CIE-LCHlch(38.60, 60.96, 291.68°)
OKLaboklab(47.89% -0.0126 -0.1632)
OKLCHoklch(47.89% 0.164 265.6)
XYZxyz(13.0379, 10.4283, 46.6638)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3054B8 #B89430
analogous
#3098B8 #3054B8 #5030B8
triadic
#3054B8 #B83054 #54B830
tetradic
#3054B8 #B83098 #B89430 #30B850
square
#3054B8 #B83098 #B89430 #30B850
split-complementary
#3054B8 #B85030 #98B830
monochromatic
#172857 #233E87 #3054B8 #5375D2 #849CDF

Accessibility & contrast

On white

6.80
#3054B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3054B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3054B8
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3054B8#FFFFFF#000000##FFFFFF
##3054B81.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BB
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3054b8;
/* rgb */ color: rgb(48, 84, 184);
/* oklch */ color: oklch(47.9% 0.164 265.6);
Tailwind
colors: {
  custom: {
    50: '#7b83ce',
    500: '#3054b8',
    950: '#000000',
  },
}
SCSS
$custom: #3054b8;
$custom-light: #7b83ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3054b8",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 184
  },
  "hsl": {
    "h": 224.118,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47886,
    "c": 0.16367,
    "h": 265.6
  },
  "luminance": 0.1043
}

Semantic roles & 50–950 ramp

primary
#3054B8
secondary
#C8B47C
accent
#B946E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3054B8

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

Preview Lab → · Contrast checker → · Palette generator →

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