#3054BF#3054BF

#3054BF is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.4% C 0.173 H 266.0°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#3054BF
RGBrgb(48, 84, 191)
HSLhsl(225, 60%, 47%)
HSVhsv(225, 75%, 75%)
CMYKcmyk(74.9%, 56%, 0%, 25.1%)
CIE-LABlab(39.12, 25.14, -59.90)
CIE-LCHlch(39.12, 64.97, 292.77°)
OKLaboklab(48.44% -0.0122 -0.1727)
OKLCHoklch(48.44% 0.173 266)
XYZxyz(13.7899, 10.7291, 50.6243)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3054BF #BF9B30
analogous
#309CBF #3054BF #5330BF
triadic
#3054BF #BF3054 #54BF30
tetradic
#3054BF #BF309C #BF9B30 #30BF53
square
#3054BF #BF309C #BF9B30 #30BF53
split-complementary
#3054BF #BF5330 #9CBF30
monochromatic
#17295D #243E8E #3054BF #5777D5 #889FE1

Accessibility & contrast

On white

6.67
#3054BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#3054BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3054BF
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3054BF#FFFFFF#000000##FFFFFF
##3054BF1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3054bf;
/* rgb */ color: rgb(48, 84, 191);
/* oklch */ color: oklch(48.4% 0.173 266.0);
Tailwind
colors: {
  custom: {
    50: '#7d83d3',
    500: '#3054bf',
    950: '#000000',
  },
}
SCSS
$custom: #3054bf;
$custom-light: #7d83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3054bf",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 224.895,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48442,
    "c": 0.17317,
    "h": 266
  },
  "luminance": 0.10731
}

Semantic roles & 50–950 ramp

primary
#3054BF
secondary
#CBB880
accent
#BB45E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3054BF

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

Preview Lab → · Contrast checker → · Palette generator →

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