#3054B0#3054B0

#3054B0 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.3% C 0.153 H 265.0°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#3054B0
RGBrgb(48, 84, 176)
HSLhsl(223, 57%, 44%)
HSVhsv(223, 73%, 69%)
CMYKcmyk(72.7%, 52.3%, 0%, 31%)
CIE-LABlab(38.03, 19.51, -52.87)
CIE-LCHlch(38.03, 56.35, 290.25°)
OKLaboklab(47.27% -0.0134 -0.152)
OKLCHoklch(47.27% 0.153 265)
XYZxyz(12.2230, 10.1023, 42.3716)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3054B0 #B08C30
analogous
#3094B0 #3054B0 #4C30B0
triadic
#3054B0 #B03054 #54B030
tetradic
#3054B0 #B03094 #B08C30 #30B04C
square
#3054B0 #B03094 #B08C30 #30B04C
split-complementary
#3054B0 #B04C30 #94B030
monochromatic
#162650 #233D80 #3054B0 #4E73CF #7E99DC

Accessibility & contrast

On white

6.95
#3054B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#3054B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3054B0
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3054B0#FFFFFF#000000##FFFFFF
##3054B01.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1860B3
Deuteranopia (green-blind)
#0054AE
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3054b0;
/* rgb */ color: rgb(48, 84, 176);
/* oklch */ color: oklch(47.3% 0.153 265.0);
Tailwind
colors: {
  custom: {
    50: '#7983c8',
    500: '#3054b0',
    950: '#000000',
  },
}
SCSS
$custom: #3054b0;
$custom-light: #7983c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3054b0",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 176
  },
  "hsl": {
    "h": 223.125,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47268,
    "c": 0.15264,
    "h": 265
  },
  "luminance": 0.10104
}

Semantic roles & 50–950 ramp

primary
#3054B0
secondary
#C5AF77
accent
#B547E0
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3054B0

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

Preview Lab → · Contrast checker → · Palette generator →

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