#3051AE#3051AE

#3051AE is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.5% C 0.154 H 265.9°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#3051AE
RGBrgb(48, 81, 174)
HSLhsl(224, 57%, 44%)
HSVhsv(224, 72%, 68%)
CMYKcmyk(72.4%, 53.4%, 0%, 31.8%)
CIE-LABlab(37.06, 20.73, -53.25)
CIE-LCHlch(37.06, 57.15, 291.27°)
OKLaboklab(46.49% -0.011 -0.1532)
OKLCHoklch(46.49% 0.154 265.9)
XYZxyz(11.7987, 9.5680, 41.2612)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3051AE #AE8D30
analogous
#3090AE #3051AE #4E30AE
triadic
#3051AE #AE3051 #51AE30
tetradic
#3051AE #AE3090 #AE8D30 #30AE4E
square
#3051AE #AE3090 #AE8D30 #30AE4E
split-complementary
#3051AE #AE4E30 #90AE30
monochromatic
#16244E #233B7E #3051AE #4D6FCE #7D96DB

Accessibility & contrast

On white

7.21
#3051AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#3051AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3051AE
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3051AE#FFFFFF#000000##FFFFFF
##3051AE1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5DB1
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3051ae;
/* rgb */ color: rgb(48, 81, 174);
/* oklch */ color: oklch(46.5% 0.154 265.9);
Tailwind
colors: {
  custom: {
    50: '#7981c7',
    500: '#3051ae',
    950: '#000000',
  },
}
SCSS
$custom: #3051ae;
$custom-light: #7981c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3051ae",
  "rgb": {
    "r": 48,
    "g": 81,
    "b": 174
  },
  "hsl": {
    "h": 224.286,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46487,
    "c": 0.15363,
    "h": 265.9
  },
  "luminance": 0.09569
}

Semantic roles & 50–950 ramp

primary
#3051AE
secondary
#C4AF76
accent
#B848E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3051AE

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

Preview Lab → · Contrast checker → · Palette generator →

#3051AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva