#3047A3#3047A3

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

Color values

HEX#3047A3
RGBrgb(48, 71, 163)
HSLhsl(228, 55%, 41%)
HSVhsv(228, 71%, 64%)
CMYKcmyk(70.6%, 56.4%, 0%, 36.1%)
CIE-LABlab(33.52, 23.24, -52.43)
CIE-LCHlch(33.52, 57.35, 293.91°)
OKLaboklab(43.56% -0.0034 -0.1509)
OKLCHoklch(43.56% 0.151 268.7)
XYZxyz(10.0807, 7.7782, 35.6133)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3047A3 #A38C30
analogous
#3081A3 #3047A3 #5330A3
triadic
#3047A3 #A33047 #47A330
tetradic
#3047A3 #A33081 #A38C30 #30A353
square
#3047A3 #A33081 #A38C30 #30A353
split-complementary
#3047A3 #A35330 #81A330
monochromatic
#141E44 #223274 #3047A3 #4761C9 #778AD7

Accessibility & contrast

On white

8.22
#3047A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3047A3
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3047A3#FFFFFF#000000##FFFFFF
##3047A31.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#004AA1
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3047a3;
/* rgb */ color: rgb(48, 71, 163);
/* oklch */ color: oklch(43.6% 0.151 268.7);
Tailwind
colors: {
  custom: {
    50: '#7779bf',
    500: '#3047a3',
    950: '#000000',
  },
}
SCSS
$custom: #3047a3;
$custom-light: #7779bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3047a3",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 163
  },
  "hsl": {
    "h": 228,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43562,
    "c": 0.15099,
    "h": 268.7
  },
  "luminance": 0.07779
}

Semantic roles & 50–950 ramp

primary
#3047A3
secondary
#BFAF70
accent
#C04ADE
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3047A3

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

Preview Lab → · Contrast checker → · Palette generator →

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