#3054AF#3054AF

#3054AF is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.2% C 0.151 H 264.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#3054AF
RGBrgb(48, 84, 175)
HSLhsl(223, 57%, 44%)
HSVhsv(223, 73%, 69%)
CMYKcmyk(72.6%, 52%, 0%, 31.4%)
CIE-LABlab(37.96, 19.13, -52.39)
CIE-LCHlch(37.96, 55.78, 290.06°)
OKLaboklab(47.19% -0.0135 -0.1506)
OKLCHoklch(47.19% 0.151 264.9)
XYZxyz(12.1244, 10.0629, 41.8525)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3054AF #AF8B30
analogous
#3093AF #3054AF #4B30AF
triadic
#3054AF #AF3054 #54AF30
tetradic
#3054AF #AF3093 #AF8B30 #30AF4B
square
#3054AF #AF3093 #AF8B30 #30AF4B
split-complementary
#3054AF #AF4B30 #93AF30
monochromatic
#16264F #233D7F #3054AF #4E72CE #7E98DC

Accessibility & contrast

On white

6.97
#3054AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##3054AF#FFFFFF#000000##FFFFFF
##3054AF1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195FB2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3054af;
/* rgb */ color: rgb(48, 84, 175);
/* oklch */ color: oklch(47.2% 0.151 264.9);
Tailwind
colors: {
  custom: {
    50: '#7983c7',
    500: '#3054af',
    950: '#000000',
  },
}
SCSS
$custom: #3054af;
$custom-light: #7983c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3054af",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 222.992,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47192,
    "c": 0.15125,
    "h": 264.9
  },
  "luminance": 0.10064
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3054AF

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

Preview Lab → · Contrast checker → · Palette generator →

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