#3047B8#3047B8

#3047B8 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.180 H 269.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#3047B8
RGBrgb(48, 71, 184)
HSLhsl(230, 59%, 45%)
HSVhsv(230, 74%, 72%)
CMYKcmyk(73.9%, 61.4%, 0%, 27.8%)
CIE-LABlab(35.19, 31.02, -62.20)
CIE-LCHlch(35.19, 69.51, 296.51°)
OKLaboklab(45.33% -0.003 -0.1797)
OKLCHoklch(45.33% 0.18 269)
XYZxyz(12.1209, 8.5943, 46.3582)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3047B8 #B8A130
analogous
#308BB8 #3047B8 #5D30B8
triadic
#3047B8 #B83047 #47B830
tetradic
#3047B8 #B8308B #B8A130 #30B85D
square
#3047B8 #B8308B #B8A130 #30B85D
split-complementary
#3047B8 #B85D30 #8BB830
monochromatic
#172257 #233487 #3047B8 #5369D2 #8493DF

Accessibility & contrast

On white

7.72
#3047B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3047B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3047B8
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3047B8#FFFFFF#000000##FFFFFF
##3047B81.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#004DB6
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3047b8;
/* rgb */ color: rgb(48, 71, 184);
/* oklch */ color: oklch(45.3% 0.180 269.0);
Tailwind
colors: {
  custom: {
    50: '#7c7ace',
    500: '#3047b8',
    950: '#000000',
  },
}
SCSS
$custom: #3047b8;
$custom-light: #7c7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#3047b8",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 184
  },
  "hsl": {
    "h": 229.853,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45334,
    "c": 0.17969,
    "h": 269
  },
  "luminance": 0.08596
}

Semantic roles & 50–950 ramp

primary
#3047B8
secondary
#C8BB7C
accent
#C746E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3047B8

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

Preview Lab → · Contrast checker → · Palette generator →

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