#3050BA#3050BA

#3050BA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.2% C 0.171 H 266.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#3050BA
RGBrgb(48, 80, 186)
HSLhsl(226, 59%, 46%)
HSVhsv(226, 74%, 73%)
CMYKcmyk(74.2%, 57%, 0%, 27.1%)
CIE-LABlab(37.68, 25.89, -59.32)
CIE-LCHlch(37.68, 64.72, 293.58°)
OKLaboklab(47.24% -0.0094 -0.1711)
OKLCHoklch(47.24% 0.171 266.8)
XYZxyz(12.9474, 9.9095, 47.6752)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3050BA #BA9A30
analogous
#3095BA #3050BA #5530BA
triadic
#3050BA #BA3050 #50BA30
tetradic
#3050BA #BA3095 #BA9A30 #30BA55
square
#3050BA #BA3095 #BA9A30 #30BA55
split-complementary
#3050BA #BA5530 #95BA30
monochromatic
#172659 #233B89 #3050BA #5472D3 #859ADF

Accessibility & contrast

On white

7.04
#3050BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3050BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3050BA
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3050BA#FFFFFF#000000##FFFFFF
##3050BA1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3050ba;
/* rgb */ color: rgb(48, 80, 186);
/* oklch */ color: oklch(47.2% 0.171 266.8);
Tailwind
colors: {
  custom: {
    50: '#7c80d0',
    500: '#3050ba',
    950: '#000000',
  },
}
SCSS
$custom: #3050ba;
$custom-light: #7c80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3050ba",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 186
  },
  "hsl": {
    "h": 226.087,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47239,
    "c": 0.17135,
    "h": 266.8
  },
  "luminance": 0.09911
}

Semantic roles & 50–950 ramp

primary
#3050BA
secondary
#C9B77D
accent
#BE46E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3050BA

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

Preview Lab → · Contrast checker → · Palette generator →

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