#3051AA#3051AA

#3051AA is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.2% C 0.148 H 265.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#3051AA
RGBrgb(48, 81, 170)
HSLhsl(224, 56%, 43%)
HSVhsv(224, 72%, 67%)
CMYKcmyk(71.8%, 52.4%, 0%, 33.3%)
CIE-LABlab(36.77, 19.23, -51.34)
CIE-LCHlch(36.77, 54.82, 290.53°)
OKLaboklab(46.18% -0.0114 -0.1476)
OKLCHoklch(46.18% 0.148 265.6)
XYZxyz(11.4145, 9.4143, 39.2380)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3051AA #AA8930
analogous
#308EAA #3051AA #4C30AA
triadic
#3051AA #AA3051 #51AA30
tetradic
#3051AA #AA308E #AA8930 #30AA4C
square
#3051AA #AA308E #AA8930 #30AA4C
split-complementary
#3051AA #AA4C30 #8EAA30
monochromatic
#15244B #233A7A #3051AA #4B6ECC #7B94DA

Accessibility & contrast

On white

7.28
#3051AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3051AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3051AA#FFFFFF#000000##FFFFFF
##3051AA1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175CAD
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3051aa;
/* rgb */ color: rgb(48, 81, 170);
/* oklch */ color: oklch(46.2% 0.148 265.6);
Tailwind
colors: {
  custom: {
    50: '#7881c4',
    500: '#3051aa',
    950: '#000000',
  },
}
SCSS
$custom: #3051aa;
$custom-light: #7881c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3051aa",
  "rgb": {
    "r": 48,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 223.77,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4618,
    "c": 0.14805,
    "h": 265.6
  },
  "luminance": 0.09416
}

Semantic roles & 50–950 ramp

primary
#3051AA
secondary
#C2AD74
accent
#B649DF
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3051AA

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

Preview Lab → · Contrast checker → · Palette generator →

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