#3051BE#3051BE

#3051BE is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.176 H 266.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#3051BE
RGBrgb(48, 81, 190)
HSLhsl(226, 60%, 47%)
HSVhsv(226, 75%, 75%)
CMYKcmyk(74.7%, 57.4%, 0%, 25.5%)
CIE-LABlab(38.25, 26.73, -60.73)
CIE-LCHlch(38.25, 66.35, 293.75°)
OKLaboklab(47.77% -0.01 -0.1752)
OKLCHoklch(47.77% 0.176 266.7)
XYZxyz(13.4524, 10.2295, 49.9707)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3051BE #BE9D30
analogous
#3098BE #3051BE #5630BE
triadic
#3051BE #BE3051 #51BE30
tetradic
#3051BE #BE3098 #BE9D30 #30BE56
square
#3051BE #BE3098 #BE9D30 #30BE56
split-complementary
#3051BE #BE5630 #98BE30
monochromatic
#17275C #243C8D #3051BE #5774D4 #889CE1

Accessibility & contrast

On white

6.89
#3051BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3051BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3051BE#FFFFFF#000000##FFFFFF
##3051BE1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#0054BC
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3051be;
/* rgb */ color: rgb(48, 81, 190);
/* oklch */ color: oklch(47.8% 0.176 266.7);
Tailwind
colors: {
  custom: {
    50: '#7d81d2',
    500: '#3051be',
    950: '#000000',
  },
}
SCSS
$custom: #3051be;
$custom-light: #7d81d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3051be",
  "rgb": {
    "r": 48,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 226.056,
    "s": 59.664,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47765,
    "c": 0.17552,
    "h": 266.7
  },
  "luminance": 0.10231
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3051BE

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

Preview Lab → · Contrast checker → · Palette generator →

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