#3050A5#3050A5

#3050A5 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.6% C 0.142 H 265.5°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#3050A5
RGBrgb(48, 80, 165)
HSLhsl(224, 55%, 42%)
HSVhsv(224, 71%, 65%)
CMYKcmyk(70.9%, 51.5%, 0%, 35.3%)
CIE-LABlab(36.14, 18.01, -49.38)
CIE-LCHlch(36.14, 52.56, 290.03°)
OKLaboklab(45.59% -0.0111 -0.1418)
OKLCHoklch(45.59% 0.142 265.5)
XYZxyz(10.8767, 9.0812, 36.7696)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3050A5 #A58530
analogous
#308BA5 #3050A5 #4B30A5
triadic
#3050A5 #A53050 #50A530
tetradic
#3050A5 #A5308B #A58530 #30A54B
square
#3050A5 #A5308B #A58530 #30A54B
split-complementary
#3050A5 #A54B30 #8BA530
monochromatic
#142246 #223976 #3050A5 #486CCA #7892D8

Accessibility & contrast

On white

7.46
#3050A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3050A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3050A5
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3050A5#FFFFFF#000000##FFFFFF
##3050A51.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5BA8
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3050a5;
/* rgb */ color: rgb(48, 80, 165);
/* oklch */ color: oklch(45.6% 0.142 265.5);
Tailwind
colors: {
  custom: {
    50: '#7780c0',
    500: '#3050a5',
    950: '#000000',
  },
}
SCSS
$custom: #3050a5;
$custom-light: #7780c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3050a5",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 165
  },
  "hsl": {
    "h": 223.59,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4559,
    "c": 0.14227,
    "h": 265.5
  },
  "luminance": 0.09082
}

Semantic roles & 50–950 ramp

primary
#3050A5
secondary
#C0AA71
accent
#B64ADE
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3050A5

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

Preview Lab → · Contrast checker → · Palette generator →

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