#3050A4#3050A4

#3050A4 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.5% C 0.141 H 265.4°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#3050A4
RGBrgb(48, 80, 164)
HSLhsl(223, 55%, 42%)
HSVhsv(223, 71%, 64%)
CMYKcmyk(70.7%, 51.2%, 0%, 35.7%)
CIE-LABlab(36.07, 17.63, -48.89)
CIE-LCHlch(36.07, 51.97, 289.83°)
OKLaboklab(45.52% -0.0112 -0.1404)
OKLCHoklch(45.52% 0.141 265.4)
XYZxyz(10.7861, 9.0449, 36.2922)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3050A4 #A48430
analogous
#308AA4 #3050A4 #4A30A4
triadic
#3050A4 #A43050 #50A430
tetradic
#3050A4 #A4308A #A48430 #30A44A
square
#3050A4 #A4308A #A48430 #30A44A
split-complementary
#3050A4 #A44A30 #8AA430
monochromatic
#142245 #223975 #3050A4 #486CC9 #7792D7

Accessibility & contrast

On white

7.48
#3050A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#3050A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3050A4
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3050A4#FFFFFF#000000##FFFFFF
##3050A41.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5AA7
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#006472
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3050a4;
/* rgb */ color: rgb(48, 80, 164);
/* oklch */ color: oklch(45.5% 0.141 265.4);
Tailwind
colors: {
  custom: {
    50: '#7780c0',
    500: '#3050a4',
    950: '#000000',
  },
}
SCSS
$custom: #3050a4;
$custom-light: #7780c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3050a4",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 164
  },
  "hsl": {
    "h": 223.448,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45515,
    "c": 0.14087,
    "h": 265.4
  },
  "luminance": 0.09046
}

Semantic roles & 50–950 ramp

primary
#3050A4
secondary
#BFAA70
accent
#B54ADE
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3050A4

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

Preview Lab → · Contrast checker → · Palette generator →

#3050A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva