#3047AD#3047AD

#3047AD is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.165 H 268.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#3047AD
RGBrgb(48, 71, 173)
HSLhsl(229, 57%, 43%)
HSVhsv(229, 72%, 68%)
CMYKcmyk(72.3%, 59%, 0%, 32.2%)
CIE-LABlab(34.30, 26.96, -57.14)
CIE-LCHlch(34.30, 63.18, 295.26°)
OKLaboklab(44.39% -0.0031 -0.1648)
OKLCHoklch(44.39% 0.165 268.9)
XYZxyz(11.0124, 8.1509, 40.5200)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3047AD #AD9630
analogous
#3085AD #3047AD #5730AD
triadic
#3047AD #AD3047 #47AD30
tetradic
#3047AD #AD3085 #AD9630 #30AD57
square
#3047AD #AD3085 #AD9630 #30AD57
split-complementary
#3047AD #AD5730 #85AD30
monochromatic
#15204D #23337D #3047AD #4D64CE #7D8EDB

Accessibility & contrast

On white

7.98
#3047AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3047AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3047AD
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3047AD#FFFFFF#000000##FFFFFF
##3047AD1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B0
Deuteranopia (green-blind)
#004BAB
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3047ad;
/* rgb */ color: rgb(48, 71, 173);
/* oklch */ color: oklch(44.4% 0.165 268.9);
Tailwind
colors: {
  custom: {
    50: '#797ac6',
    500: '#3047ad',
    950: '#000000',
  },
}
SCSS
$custom: #3047ad;
$custom-light: #797ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#3047ad",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 173
  },
  "hsl": {
    "h": 228.96,
    "s": 56.561,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44389,
    "c": 0.16484,
    "h": 268.9
  },
  "luminance": 0.08152
}

Semantic roles & 50–950 ramp

primary
#3047AD
secondary
#C3B575
accent
#C448E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #3047AD

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

Preview Lab → · Contrast checker → · Palette generator →

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