#3054AB#3054AB

#3054AB is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.9% C 0.146 H 264.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#3054AB
RGBrgb(48, 84, 171)
HSLhsl(222, 56%, 43%)
HSVhsv(222, 72%, 67%)
CMYKcmyk(71.9%, 50.9%, 0%, 32.9%)
CIE-LABlab(37.68, 17.62, -50.47)
CIE-LCHlch(37.68, 53.46, 289.25°)
OKLaboklab(46.89% -0.0139 -0.145)
OKLCHoklch(46.89% 0.146 264.5)
XYZxyz(11.7373, 9.9081, 39.8141)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3054AB #AB8730
analogous
#3091AB #3054AB #4930AB
triadic
#3054AB #AB3054 #54AB30
tetradic
#3054AB #AB3091 #AB8730 #30AB49
square
#3054AB #AB3091 #AB8730 #30AB49
split-complementary
#3054AB #AB4930 #91AB30
monochromatic
#15254B #233D7B #3054AB #4C71CD #7B97DA

Accessibility & contrast

On white

7.04
#3054AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3054AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3054AB
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3054AB#FFFFFF#000000##FFFFFF
##3054AB1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205FAE
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3054ab;
/* rgb */ color: rgb(48, 84, 171);
/* oklch */ color: oklch(46.9% 0.146 264.5);
Tailwind
colors: {
  custom: {
    50: '#7883c5',
    500: '#3054ab',
    950: '#000000',
  },
}
SCSS
$custom: #3054ab;
$custom-light: #7883c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3054ab",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 171
  },
  "hsl": {
    "h": 222.439,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46892,
    "c": 0.14566,
    "h": 264.5
  },
  "luminance": 0.09909
}

Semantic roles & 50–950 ramp

primary
#3054AB
secondary
#C3AC74
accent
#B348DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3054AB

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

Preview Lab → · Contrast checker → · Palette generator →

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