#3047A4#3047A4

#3047A4 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.152 H 268.7°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#3047A4
RGBrgb(48, 71, 164)
HSLhsl(228, 55%, 42%)
HSVhsv(228, 71%, 64%)
CMYKcmyk(70.7%, 56.7%, 0%, 35.7%)
CIE-LABlab(33.59, 23.62, -52.90)
CIE-LCHlch(33.59, 57.93, 294.06°)
OKLaboklab(43.64% -0.0033 -0.1524)
OKLCHoklch(43.64% 0.152 268.7)
XYZxyz(10.1707, 7.8142, 36.0870)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3047A4 #A48D30
analogous
#3081A4 #3047A4 #5330A4
triadic
#3047A4 #A43047 #47A430
tetradic
#3047A4 #A43081 #A48D30 #30A453
square
#3047A4 #A43081 #A48D30 #30A453
split-complementary
#3047A4 #A45330 #81A430
monochromatic
#141E45 #223375 #3047A4 #4862C9 #778AD7

Accessibility & contrast

On white

8.19
#3047A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3047A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3047A4
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3047A4#FFFFFF#000000##FFFFFF
##3047A41.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3047a4;
/* rgb */ color: rgb(48, 71, 164);
/* oklch */ color: oklch(43.6% 0.152 268.7);
Tailwind
colors: {
  custom: {
    50: '#7779c0',
    500: '#3047a4',
    950: '#000000',
  },
}
SCSS
$custom: #3047a4;
$custom-light: #7779c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3047a4",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 164
  },
  "hsl": {
    "h": 228.103,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43643,
    "c": 0.15239,
    "h": 268.7
  },
  "luminance": 0.07815
}

Semantic roles & 50–950 ramp

primary
#3047A4
secondary
#BFB070
accent
#C14ADE
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3047A4

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

Preview Lab → · Contrast checker → · Palette generator →

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