#3054C8#3054C8

#3054C8 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.2% C 0.185 H 266.4°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#3054C8
RGBrgb(48, 84, 200)
HSLhsl(226, 61%, 49%)
HSVhsv(226, 76%, 78%)
CMYKcmyk(76%, 58%, 0%, 21.6%)
CIE-LABlab(39.81, 28.50, -64.02)
CIE-LCHlch(39.81, 70.07, 294.00°)
OKLaboklab(49.18% -0.0118 -0.1848)
OKLCHoklch(49.18% 0.185 266.4)
XYZxyz(14.8109, 11.1375, 56.0016)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3054C8 #C8A430
analogous
#30A0C8 #3054C8 #5830C8
triadic
#3054C8 #C83054 #54C830
tetradic
#3054C8 #C830A0 #C8A430 #30C858
square
#3054C8 #C830A0 #C8A430 #30C858
split-complementary
#3054C8 #C85830 #A0C830
monochromatic
#182B65 #243F97 #3054C8 #5D7AD8 #8EA3E4

Accessibility & contrast

On white

6.51
#3054C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#3054C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3054C8
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3054C8#FFFFFF#000000##FFFFFF
##3054C81.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#0057C6
Tritanopia (blue-blind)
#007186
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3054c8;
/* rgb */ color: rgb(48, 84, 200);
/* oklch */ color: oklch(49.2% 0.185 266.4);
Tailwind
colors: {
  custom: {
    50: '#7f83da',
    500: '#3054c8',
    950: '#000000',
  },
}
SCSS
$custom: #3054c8;
$custom-light: #7f83da;
$custom-dark: #000000;
JSON
{
  "hex": "#3054c8",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 225.789,
    "s": 61.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49177,
    "c": 0.1852,
    "h": 266.4
  },
  "luminance": 0.11139
}

Semantic roles & 50–950 ramp

primary
#3054C8
secondary
#CEBD85
accent
#BE43E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3054C8

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

Preview Lab → · Contrast checker → · Palette generator →

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