#3054AE#3054AE

#3054AE is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.1% C 0.150 H 264.8°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#3054AE
RGBrgb(48, 84, 174)
HSLhsl(223, 57%, 44%)
HSVhsv(223, 72%, 68%)
CMYKcmyk(72.4%, 51.7%, 0%, 31.8%)
CIE-LABlab(37.89, 18.75, -51.91)
CIE-LCHlch(37.89, 55.20, 289.86°)
OKLaboklab(47.12% -0.0136 -0.1492)
OKLCHoklch(47.12% 0.15 264.8)
XYZxyz(12.0265, 10.0238, 41.3371)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3054AE #AE8A30
analogous
#3093AE #3054AE #4B30AE
triadic
#3054AE #AE3054 #54AE30
tetradic
#3054AE #AE3093 #AE8A30 #30AE4B
square
#3054AE #AE3093 #AE8A30 #30AE4B
split-complementary
#3054AE #AE4B30 #93AE30
monochromatic
#16264E #233D7E #3054AE #4D72CE #7D98DB

Accessibility & contrast

On white

6.99
#3054AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3054AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3054AE#FFFFFF#000000##FFFFFF
##3054AE1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5FB1
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3054ae;
/* rgb */ color: rgb(48, 84, 174);
/* oklch */ color: oklch(47.1% 0.150 264.8);
Tailwind
colors: {
  custom: {
    50: '#7983c7',
    500: '#3054ae',
    950: '#000000',
  },
}
SCSS
$custom: #3054ae;
$custom-light: #7983c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3054ae",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 174
  },
  "hsl": {
    "h": 222.857,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47116,
    "c": 0.14986,
    "h": 264.8
  },
  "luminance": 0.10025
}

Semantic roles & 50–950 ramp

primary
#3054AE
secondary
#C4AE76
accent
#B548E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3054AE

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

Preview Lab → · Contrast checker → · Palette generator →

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