#3054BE#3054BE

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

Color values

HEX#3054BE
RGBrgb(48, 84, 190)
HSLhsl(225, 60%, 47%)
HSVhsv(225, 75%, 75%)
CMYKcmyk(74.7%, 55.8%, 0%, 25.5%)
CIE-LABlab(39.05, 24.77, -59.44)
CIE-LCHlch(39.05, 64.40, 292.62°)
OKLaboklab(48.36% -0.0122 -0.1714)
OKLCHoklch(48.36% 0.172 265.9)
XYZxyz(13.6802, 10.6852, 50.0467)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3054BE #BE9A30
analogous
#309BBE #3054BE #5330BE
triadic
#3054BE #BE3054 #54BE30
tetradic
#3054BE #BE309B #BE9A30 #30BE53
square
#3054BE #BE309B #BE9A30 #30BE53
split-complementary
#3054BE #BE5330 #9BBE30
monochromatic
#17295C #243E8D #3054BE #5777D4 #889EE1

Accessibility & contrast

On white

6.69
#3054BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#3054BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3054BE
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3054BE#FFFFFF#000000##FFFFFF
##3054BE1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3054be;
/* rgb */ color: rgb(48, 84, 190);
/* oklch */ color: oklch(48.4% 0.172 265.9);
Tailwind
colors: {
  custom: {
    50: '#7c83d2',
    500: '#3054be',
    950: '#000000',
  },
}
SCSS
$custom: #3054be;
$custom-light: #7c83d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3054be",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 224.789,
    "s": 59.664,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48361,
    "c": 0.17183,
    "h": 265.9
  },
  "luminance": 0.10687
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3054BE

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

Preview Lab → · Contrast checker → · Palette generator →

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