#3054BA#3054BA

#3054BA is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.0% C 0.166 H 265.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#3054BA
RGBrgb(48, 84, 186)
HSLhsl(224, 59%, 46%)
HSVhsv(224, 74%, 73%)
CMYKcmyk(74.2%, 54.8%, 0%, 27.1%)
CIE-LABlab(38.75, 23.27, -57.59)
CIE-LCHlch(38.75, 62.11, 292.00°)
OKLaboklab(48.04% -0.0125 -0.1659)
OKLCHoklch(48.04% 0.166 265.7)
XYZxyz(13.2491, 10.5128, 47.7758)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3054BA #BA9630
analogous
#3099BA #3054BA #5130BA
triadic
#3054BA #BA3054 #54BA30
tetradic
#3054BA #BA3099 #BA9630 #30BA51
square
#3054BA #BA3099 #BA9630 #30BA51
split-complementary
#3054BA #BA5130 #99BA30
monochromatic
#172859 #233E89 #3054BA #5475D3 #859DDF

Accessibility & contrast

On white

6.77
#3054BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#3054BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3054BA
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3054BA#FFFFFF#000000##FFFFFF
##3054BA1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3054ba;
/* rgb */ color: rgb(48, 84, 186);
/* oklch */ color: oklch(48.0% 0.166 265.7);
Tailwind
colors: {
  custom: {
    50: '#7c83cf',
    500: '#3054ba',
    950: '#000000',
  },
}
SCSS
$custom: #3054ba;
$custom-light: #7c83cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3054ba",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 186
  },
  "hsl": {
    "h": 224.348,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48043,
    "c": 0.1664,
    "h": 265.7
  },
  "luminance": 0.10514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3054BA

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

Preview Lab → · Contrast checker → · Palette generator →

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