#3054B3#3054B3

#3054B3 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.5% C 0.157 H 265.2°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#3054B3
RGBrgb(48, 84, 179)
HSLhsl(224, 58%, 45%)
HSVhsv(224, 73%, 70%)
CMYKcmyk(73.2%, 53.1%, 0%, 29.8%)
CIE-LABlab(38.24, 20.64, -54.30)
CIE-LCHlch(38.24, 58.09, 290.81°)
OKLaboklab(47.5% -0.0131 -0.1562)
OKLCHoklch(47.5% 0.157 265.2)
XYZxyz(12.5231, 10.2224, 43.9522)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3054B3 #B38F30
analogous
#3096B3 #3054B3 #4D30B3
triadic
#3054B3 #B33054 #54B330
tetradic
#3054B3 #B33096 #B38F30 #30B34D
square
#3054B3 #B33096 #B38F30 #30B34D
split-complementary
#3054B3 #B34D30 #96B330
monochromatic
#162752 #233D83 #3054B3 #5073D0 #809ADD

Accessibility & contrast

On white

6.90
#3054B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#3054B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3054B3
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3054B3#FFFFFF#000000##FFFFFF
##3054B31.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1160B6
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3054b3;
/* rgb */ color: rgb(48, 84, 179);
/* oklch */ color: oklch(47.5% 0.157 265.2);
Tailwind
colors: {
  custom: {
    50: '#7a83ca',
    500: '#3054b3',
    950: '#000000',
  },
}
SCSS
$custom: #3054b3;
$custom-light: #7a83ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3054b3",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 179
  },
  "hsl": {
    "h": 223.511,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47497,
    "c": 0.1568,
    "h": 265.2
  },
  "luminance": 0.10224
}

Semantic roles & 50–950 ramp

primary
#3054B3
secondary
#C6B179
accent
#B747E1
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3054B3

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

Preview Lab → · Contrast checker → · Palette generator →

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