#3054BB#3054BB

#3054BB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.1% C 0.168 H 265.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#3054BB
RGBrgb(48, 84, 187)
HSLhsl(224, 59%, 46%)
HSVhsv(224, 74%, 73%)
CMYKcmyk(74.3%, 55.1%, 0%, 26.7%)
CIE-LABlab(38.82, 23.64, -58.05)
CIE-LCHlch(38.82, 62.68, 292.16°)
OKLaboklab(48.12% -0.0124 -0.1673)
OKLCHoklch(48.12% 0.168 265.8)
XYZxyz(13.3557, 10.5554, 48.3376)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3054BB #BB9730
analogous
#3099BB #3054BB #5130BB
triadic
#3054BB #BB3054 #54BB30
tetradic
#3054BB #BB3099 #BB9730 #30BB51
square
#3054BB #BB3099 #BB9730 #30BB51
split-complementary
#3054BB #BB5130 #99BB30
monochromatic
#17285A #233E8A #3054BB #5576D3 #869DE0

Accessibility & contrast

On white

6.75
#3054BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#3054BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3054BB
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3054BB#FFFFFF#000000##FFFFFF
##3054BB1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#0055B9
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3054bb;
/* rgb */ color: rgb(48, 84, 187);
/* oklch */ color: oklch(48.1% 0.168 265.8);
Tailwind
colors: {
  custom: {
    50: '#7c83d0',
    500: '#3054bb',
    950: '#000000',
  },
}
SCSS
$custom: #3054bb;
$custom-light: #7c83d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3054bb",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 224.46,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48122,
    "c": 0.16776,
    "h": 265.8
  },
  "luminance": 0.10557
}

Semantic roles & 50–950 ramp

primary
#3054BB
secondary
#C9B67D
accent
#BA45E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3054BB

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

Preview Lab → · Contrast checker → · Palette generator →

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