#3047BF#3047BF

#3047BF is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.0% C 0.189 H 269.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#3047BF
RGBrgb(48, 71, 191)
HSLhsl(230, 60%, 47%)
HSVhsv(230, 75%, 75%)
CMYKcmyk(74.9%, 62.8%, 0%, 25.1%)
CIE-LABlab(35.78, 33.58, -65.35)
CIE-LCHlch(35.78, 73.47, 297.19°)
OKLaboklab(45.95% -0.0032 -0.1889)
OKLCHoklch(45.95% 0.189 269)
XYZxyz(12.8729, 8.8951, 50.3186)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3047BF #BFA830
analogous
#308FBF #3047BF #6130BF
triadic
#3047BF #BF3047 #47BF30
tetradic
#3047BF #BF308F #BFA830 #30BF61
square
#3047BF #BF308F #BFA830 #30BF61
split-complementary
#3047BF #BF6130 #8FBF30
monochromatic
#17235D #24358E #3047BF #576CD5 #8897E1

Accessibility & contrast

On white

7.56
#3047BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3047BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3047BF
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3047BF#FFFFFF#000000##FFFFFF
##3047BF1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#004EBD
Tritanopia (blue-blind)
#00667C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3047bf;
/* rgb */ color: rgb(48, 71, 191);
/* oklch */ color: oklch(46.0% 0.189 269.0);
Tailwind
colors: {
  custom: {
    50: '#7e7ad3',
    500: '#3047bf',
    950: '#000000',
  },
}
SCSS
$custom: #3047bf;
$custom-light: #7e7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#3047bf",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 230.35,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45953,
    "c": 0.18893,
    "h": 269
  },
  "luminance": 0.08896
}

Semantic roles & 50–950 ramp

primary
#3047BF
secondary
#CBBF80
accent
#CA45E3
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #3047BF

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

Preview Lab → · Contrast checker → · Palette generator →

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