#3051BC#3051BC

#3051BC is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.6% C 0.173 H 266.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#3051BC
RGBrgb(48, 81, 188)
HSLhsl(226, 59%, 46%)
HSVhsv(226, 74%, 74%)
CMYKcmyk(74.5%, 56.9%, 0%, 26.3%)
CIE-LABlab(38.10, 25.98, -59.81)
CIE-LCHlch(38.10, 65.21, 293.48°)
OKLaboklab(47.6% -0.0101 -0.1725)
OKLCHoklch(47.6% 0.173 266.6)
XYZxyz(13.2353, 10.1426, 48.8274)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3051BC #BC9B30
analogous
#3097BC #3051BC #5530BC
triadic
#3051BC #BC3051 #51BC30
tetradic
#3051BC #BC3097 #BC9B30 #30BC55
square
#3051BC #BC3097 #BC9B30 #30BC55
split-complementary
#3051BC #BC5530 #97BC30
monochromatic
#17275A #243C8B #3051BC #5573D4 #869BE0

Accessibility & contrast

On white

6.93
#3051BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3051BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3051BC#FFFFFF#000000##FFFFFF
##3051BC1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3051bc;
/* rgb */ color: rgb(48, 81, 188);
/* oklch */ color: oklch(47.6% 0.173 266.6);
Tailwind
colors: {
  custom: {
    50: '#7c81d1',
    500: '#3051bc',
    950: '#000000',
  },
}
SCSS
$custom: #3051bc;
$custom-light: #7c81d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3051bc",
  "rgb": {
    "r": 48,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 225.857,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47601,
    "c": 0.17282,
    "h": 266.6
  },
  "luminance": 0.10144
}

Semantic roles & 50–950 ramp

primary
#3051BC
secondary
#CAB87E
accent
#BD45E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3051BC

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

Preview Lab → · Contrast checker → · Palette generator →

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