#3054AC#3054AC

#3054AC is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.0% C 0.147 H 264.6°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#3054AC
RGBrgb(48, 84, 172)
HSLhsl(223, 56%, 43%)
HSVhsv(223, 72%, 67%)
CMYKcmyk(72.1%, 51.2%, 0%, 32.5%)
CIE-LABlab(37.75, 18.00, -50.95)
CIE-LCHlch(37.75, 54.04, 289.46°)
OKLaboklab(46.97% -0.0138 -0.1464)
OKLCHoklch(46.97% 0.147 264.6)
XYZxyz(11.8330, 9.9463, 40.3179)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3054AC #AC8830
analogous
#3092AC #3054AC #4A30AC
triadic
#3054AC #AC3054 #54AC30
tetradic
#3054AC #AC3092 #AC8830 #30AC4A
square
#3054AC #AC3092 #AC8830 #30AC4A
split-complementary
#3054AC #AC4A30 #92AC30
monochromatic
#15254C #233D7C #3054AC #4C72CD #7C97DA

Accessibility & contrast

On white

7.02
#3054AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3054AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3054AC
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3054AC#FFFFFF#000000##FFFFFF
##3054AC1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5FAF
Deuteranopia (green-blind)
#0053AA
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3054ac;
/* rgb */ color: rgb(48, 84, 172);
/* oklch */ color: oklch(47.0% 0.147 264.6);
Tailwind
colors: {
  custom: {
    50: '#7883c5',
    500: '#3054ac',
    950: '#000000',
  },
}
SCSS
$custom: #3054ac;
$custom-light: #7883c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3054ac",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 172
  },
  "hsl": {
    "h": 222.581,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46966,
    "c": 0.14706,
    "h": 264.6
  },
  "luminance": 0.09948
}

Semantic roles & 50–950 ramp

primary
#3054AC
secondary
#C3AC75
accent
#B448E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3054AC

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

Preview Lab → · Contrast checker → · Palette generator →

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