#3054B2#3054B2

#3054B2 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.4% C 0.155 H 265.1°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#3054B2
RGBrgb(48, 84, 178)
HSLhsl(223, 58%, 44%)
HSVhsv(223, 73%, 70%)
CMYKcmyk(73%, 52.8%, 0%, 30.2%)
CIE-LABlab(38.17, 20.26, -53.82)
CIE-LCHlch(38.17, 57.51, 290.63°)
OKLaboklab(47.42% -0.0132 -0.1548)
OKLCHoklch(47.42% 0.155 265.1)
XYZxyz(12.4223, 10.1821, 43.4215)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3054B2 #B28E30
analogous
#3095B2 #3054B2 #4D30B2
triadic
#3054B2 #B23054 #54B230
tetradic
#3054B2 #B23095 #B28E30 #30B24D
square
#3054B2 #B23095 #B28E30 #30B24D
split-complementary
#3054B2 #B24D30 #95B230
monochromatic
#162752 #233D82 #3054B2 #5073D0 #8099DD

Accessibility & contrast

On white

6.92
#3054B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3054B2
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3054B2#FFFFFF#000000##FFFFFF
##3054B21.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1360B5
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3054b2;
/* rgb */ color: rgb(48, 84, 178);
/* oklch */ color: oklch(47.4% 0.155 265.1);
Tailwind
colors: {
  custom: {
    50: '#7a83ca',
    500: '#3054b2',
    950: '#000000',
  },
}
SCSS
$custom: #3054b2;
$custom-light: #7a83ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3054b2",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 223.385,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4742,
    "c": 0.15541,
    "h": 265.1
  },
  "luminance": 0.10183
}

Semantic roles & 50–950 ramp

primary
#3054B2
secondary
#C6B078
accent
#B647E1
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3054B2

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

Preview Lab → · Contrast checker → · Palette generator →

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