#3054AA#3054AA

#3054AA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.8% C 0.144 H 264.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#3054AA
RGBrgb(48, 84, 170)
HSLhsl(222, 56%, 43%)
HSVhsv(222, 72%, 67%)
CMYKcmyk(71.8%, 50.6%, 0%, 33.3%)
CIE-LABlab(37.61, 17.25, -49.99)
CIE-LCHlch(37.61, 52.88, 289.03°)
OKLaboklab(46.82% -0.014 -0.1436)
OKLCHoklch(46.82% 0.144 264.4)
XYZxyz(11.6424, 9.8701, 39.3140)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3054AA #AA8630
analogous
#3091AA #3054AA #4930AA
triadic
#3054AA #AA3054 #54AA30
tetradic
#3054AA #AA3091 #AA8630 #30AA49
square
#3054AA #AA3091 #AA8630 #30AA49
split-complementary
#3054AA #AA4930 #91AA30
monochromatic
#15254B #233C7A #3054AA #4B71CC #7B97DA

Accessibility & contrast

On white

7.06
#3054AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#3054AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3054AA#FFFFFF#000000##FFFFFF
##3054AA1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215EAD
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3054aa;
/* rgb */ color: rgb(48, 84, 170);
/* oklch */ color: oklch(46.8% 0.144 264.4);
Tailwind
colors: {
  custom: {
    50: '#7883c4',
    500: '#3054aa',
    950: '#000000',
  },
}
SCSS
$custom: #3054aa;
$custom-light: #7883c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3054aa",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 170
  },
  "hsl": {
    "h": 222.295,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46818,
    "c": 0.14425,
    "h": 264.4
  },
  "luminance": 0.09871
}

Semantic roles & 50–950 ramp

primary
#3054AA
secondary
#C2AB74
accent
#B349DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3054AA

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

Preview Lab → · Contrast checker → · Palette generator →

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