#3050AB#3050AB

#3050AB is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.0% C 0.151 H 266.0°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#3050AB
RGBrgb(48, 80, 171)
HSLhsl(224, 56%, 43%)
HSVhsv(224, 72%, 67%)
CMYKcmyk(71.9%, 53.2%, 0%, 32.9%)
CIE-LABlab(36.56, 20.27, -52.27)
CIE-LCHlch(36.56, 56.06, 291.19°)
OKLaboklab(46.05% -0.0105 -0.1504)
OKLCHoklch(46.05% 0.151 266)
XYZxyz(11.4357, 9.3048, 39.7135)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3050AB #AB8B30
analogous
#308DAB #3050AB #4D30AB
triadic
#3050AB #AB3050 #50AB30
tetradic
#3050AB #AB308D #AB8B30 #30AB4D
square
#3050AB #AB308D #AB8B30 #30AB4D
split-complementary
#3050AB #AB4D30 #8DAB30
monochromatic
#15234B #233A7B #3050AB #4C6DCD #7B94DA

Accessibility & contrast

On white

7.34
#3050AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3050AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3050AB
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3050AB#FFFFFF#000000##FFFFFF
##3050AB1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115CAE
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3050ab;
/* rgb */ color: rgb(48, 80, 171);
/* oklch */ color: oklch(46.0% 0.151 266.0);
Tailwind
colors: {
  custom: {
    50: '#7880c5',
    500: '#3050ab',
    950: '#000000',
  },
}
SCSS
$custom: #3050ab;
$custom-light: #7880c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3050ab",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 171
  },
  "hsl": {
    "h": 224.39,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46047,
    "c": 0.15071,
    "h": 266
  },
  "luminance": 0.09306
}

Semantic roles & 50–950 ramp

primary
#3050AB
secondary
#C3AE74
accent
#B848DF
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3050AB

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

Preview Lab → · Contrast checker → · Palette generator →

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