#3051BF#3051BF

#3051BF is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.8% C 0.177 H 266.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#3051BF
RGBrgb(48, 81, 191)
HSLhsl(226, 60%, 47%)
HSVhsv(226, 75%, 75%)
CMYKcmyk(74.9%, 57.6%, 0%, 25.1%)
CIE-LABlab(38.33, 27.10, -61.19)
CIE-LCHlch(38.33, 66.92, 293.89°)
OKLaboklab(47.85% -0.01 -0.1766)
OKLCHoklch(47.85% 0.177 266.8)
XYZxyz(13.5620, 10.2733, 50.5483)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3051BF #BF9E30
analogous
#3099BF #3051BF #5730BF
triadic
#3051BF #BF3051 #51BF30
tetradic
#3051BF #BF3099 #BF9E30 #30BF57
square
#3051BF #BF3099 #BF9E30 #30BF57
split-complementary
#3051BF #BF5730 #99BF30
monochromatic
#17285D #243C8E #3051BF #5774D5 #889DE1

Accessibility & contrast

On white

6.87
#3051BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3051BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3051BF#FFFFFF#000000##FFFFFF
##3051BF1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#0054BD
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3051bf;
/* rgb */ color: rgb(48, 81, 191);
/* oklch */ color: oklch(47.8% 0.177 266.8);
Tailwind
colors: {
  custom: {
    50: '#7d81d3',
    500: '#3051bf',
    950: '#000000',
  },
}
SCSS
$custom: #3051bf;
$custom-light: #7d81d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3051bf",
  "rgb": {
    "r": 48,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 226.154,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47847,
    "c": 0.17685,
    "h": 266.8
  },
  "luminance": 0.10275
}

Semantic roles & 50–950 ramp

primary
#3051BF
secondary
#CBBA80
accent
#BE45E3
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3051BF

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

Preview Lab → · Contrast checker → · Palette generator →

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