#3047A5#3047A5

#3047A5 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.154 H 268.8°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#3047A5
RGBrgb(48, 71, 165)
HSLhsl(228, 55%, 42%)
HSVhsv(228, 71%, 65%)
CMYKcmyk(70.9%, 57%, 0%, 35.3%)
CIE-LABlab(33.67, 23.99, -53.38)
CIE-LCHlch(33.67, 58.52, 294.20°)
OKLaboklab(43.73% -0.0033 -0.1537)
OKLCHoklch(43.73% 0.154 268.8)
XYZxyz(10.2614, 7.8504, 36.5645)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3047A5 #A58E30
analogous
#3082A5 #3047A5 #5430A5
triadic
#3047A5 #A53047 #47A530
tetradic
#3047A5 #A53082 #A58E30 #30A554
square
#3047A5 #A53082 #A58E30 #30A554
split-complementary
#3047A5 #A55430 #82A530
monochromatic
#141E46 #223376 #3047A5 #4862CA #788BD8

Accessibility & contrast

On white

8.17
#3047A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3047A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3047A5
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3047A5#FFFFFF#000000##FFFFFF
##3047A51.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3047a5;
/* rgb */ color: rgb(48, 71, 165);
/* oklch */ color: oklch(43.7% 0.154 268.8);
Tailwind
colors: {
  custom: {
    50: '#7879c0',
    500: '#3047a5',
    950: '#000000',
  },
}
SCSS
$custom: #3047a5;
$custom-light: #7879c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3047a5",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 165
  },
  "hsl": {
    "h": 228.205,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43725,
    "c": 0.15379,
    "h": 268.8
  },
  "luminance": 0.07851
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3047A5

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

Preview Lab → · Contrast checker → · Palette generator →

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