#3050A2#3050A2

#3050A2 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.4% C 0.138 H 265.2°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#3050A2
RGBrgb(48, 80, 162)
HSLhsl(223, 54%, 41%)
HSVhsv(223, 70%, 64%)
CMYKcmyk(70.4%, 50.6%, 0%, 36.5%)
CIE-LABlab(35.93, 16.88, -47.92)
CIE-LCHlch(35.93, 50.80, 289.40°)
OKLaboklab(45.37% -0.0114 -0.1375)
OKLCHoklch(45.37% 0.138 265.2)
XYZxyz(10.6069, 8.9733, 35.3484)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3050A2 #A28230
analogous
#3089A2 #3050A2 #4930A2
triadic
#3050A2 #A23050 #50A230
tetradic
#3050A2 #A23089 #A28230 #30A249
square
#3050A2 #A23089 #A28230 #30A249
split-complementary
#3050A2 #A24930 #89A230
monochromatic
#142144 #223973 #3050A2 #476BC8 #7691D6

Accessibility & contrast

On white

7.51
#3050A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3050A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3050A2
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3050A2#FFFFFF#000000##FFFFFF
##3050A21.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215AA5
Deuteranopia (green-blind)
#0050A0
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3050a2;
/* rgb */ color: rgb(48, 80, 162);
/* oklch */ color: oklch(45.4% 0.138 265.2);
Tailwind
colors: {
  custom: {
    50: '#7680be',
    500: '#3050a2',
    950: '#000000',
  },
}
SCSS
$custom: #3050a2;
$custom-light: #7680be;
$custom-dark: #000000;
JSON
{
  "hex": "#3050a2",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 162
  },
  "hsl": {
    "h": 223.158,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45366,
    "c": 0.13802,
    "h": 265.2
  },
  "luminance": 0.08974
}

Semantic roles & 50–950 ramp

primary
#3050A2
secondary
#BEA86F
accent
#B44ADE
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3050A2

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

Preview Lab → · Contrast checker → · Palette generator →

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