#3047B6#3047B6

#3047B6 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.2% C 0.177 H 269.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#3047B6
RGBrgb(48, 71, 182)
HSLhsl(230, 58%, 45%)
HSVhsv(230, 74%, 71%)
CMYKcmyk(73.6%, 61%, 0%, 28.6%)
CIE-LABlab(35.03, 30.29, -61.29)
CIE-LCHlch(35.03, 68.36, 296.30°)
OKLaboklab(45.16% -0.003 -0.177)
OKLCHoklch(45.16% 0.177 269)
XYZxyz(11.9128, 8.5110, 45.2619)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3047B6 #B69F30
analogous
#308AB6 #3047B6 #5C30B6
triadic
#3047B6 #B63047 #47B630
tetradic
#3047B6 #B6308A #B69F30 #30B65C
square
#3047B6 #B6308A #B69F30 #30B65C
split-complementary
#3047B6 #B65C30 #8AB630
monochromatic
#162155 #233486 #3047B6 #5268D1 #8292DE

Accessibility & contrast

On white

7.77
#3047B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3047B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3047B6
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3047B6#FFFFFF#000000##FFFFFF
##3047B61.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#004CB4
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3047b6;
/* rgb */ color: rgb(48, 71, 182);
/* oklch */ color: oklch(45.2% 0.177 269.0);
Tailwind
colors: {
  custom: {
    50: '#7b7acd',
    500: '#3047b6',
    950: '#000000',
  },
}
SCSS
$custom: #3047b6;
$custom-light: #7b7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#3047b6",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 182
  },
  "hsl": {
    "h": 229.701,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4516,
    "c": 0.17702,
    "h": 269
  },
  "luminance": 0.08512
}

Semantic roles & 50–950 ramp

primary
#3047B6
secondary
#C7BA7B
accent
#C746E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3047B6

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

Preview Lab → · Contrast checker → · Palette generator →

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