#3051B3#3051B3

#3051B3 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.9% C 0.161 H 266.2°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#3051B3
RGBrgb(48, 81, 179)
HSLhsl(225, 58%, 45%)
HSVhsv(225, 73%, 70%)
CMYKcmyk(73.2%, 54.7%, 0%, 29.8%)
CIE-LABlab(37.42, 22.61, -55.62)
CIE-LCHlch(37.42, 60.04, 292.12°)
OKLaboklab(46.88% -0.0106 -0.1602)
OKLCHoklch(46.88% 0.161 266.2)
XYZxyz(12.2952, 9.7666, 43.8762)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3051B3 #B39230
analogous
#3093B3 #3051B3 #5030B3
triadic
#3051B3 #B33051 #51B330
tetradic
#3051B3 #B33093 #B39230 #30B350
square
#3051B3 #B33093 #B39230 #30B350
split-complementary
#3051B3 #B35030 #93B330
monochromatic
#162552 #233B83 #3051B3 #5070D0 #8098DD

Accessibility & contrast

On white

7.11
#3051B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#3051B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3051B3#FFFFFF#000000##FFFFFF
##3051B31.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#0052B1
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3051b3;
/* rgb */ color: rgb(48, 81, 179);
/* oklch */ color: oklch(46.9% 0.161 266.2);
Tailwind
colors: {
  custom: {
    50: '#7a81ca',
    500: '#3051b3',
    950: '#000000',
  },
}
SCSS
$custom: #3051b3;
$custom-light: #7a81ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3051b3",
  "rgb": {
    "r": 48,
    "g": 81,
    "b": 179
  },
  "hsl": {
    "h": 224.885,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46878,
    "c": 0.16055,
    "h": 266.2
  },
  "luminance": 0.09768
}

Semantic roles & 50–950 ramp

primary
#3051B3
secondary
#C6B379
accent
#BA47E1
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3051B3

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

Preview Lab → · Contrast checker → · Palette generator →

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