#3050AF#3050AF

#3050AF is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.4% C 0.156 H 266.3°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#3050AF
RGBrgb(48, 80, 175)
HSLhsl(225, 57%, 44%)
HSVhsv(225, 73%, 69%)
CMYKcmyk(72.6%, 54.3%, 0%, 31.4%)
CIE-LABlab(36.85, 21.77, -54.17)
CIE-LCHlch(36.85, 58.38, 291.89°)
OKLaboklab(46.36% -0.0101 -0.1559)
OKLCHoklch(46.36% 0.156 266.3)
XYZxyz(11.8227, 9.4596, 41.7519)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3050AF #AF8F30
analogous
#308FAF #3050AF #4F30AF
triadic
#3050AF #AF3050 #50AF30
tetradic
#3050AF #AF308F #AF8F30 #30AF4F
square
#3050AF #AF308F #AF8F30 #30AF4F
split-complementary
#3050AF #AF4F30 #8FAF30
monochromatic
#16244F #233A7F #3050AF #4E6ECE #7E95DC

Accessibility & contrast

On white

7.26
#3050AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3050AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3050AF
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3050AF#FFFFFF#000000##FFFFFF
##3050AF1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045DB2
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3050af;
/* rgb */ color: rgb(48, 80, 175);
/* oklch */ color: oklch(46.4% 0.156 266.3);
Tailwind
colors: {
  custom: {
    50: '#7980c8',
    500: '#3050af',
    950: '#000000',
  },
}
SCSS
$custom: #3050af;
$custom-light: #7980c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3050af",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 224.882,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46358,
    "c": 0.15628,
    "h": 266.3
  },
  "luminance": 0.09461
}

Semantic roles & 50–950 ramp

primary
#3050AF
secondary
#C4B176
accent
#BA48E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3050AF

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

Preview Lab → · Contrast checker → · Palette generator →

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