#3047AC#3047AC

#3047AC is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.163 H 268.9°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#3047AC
RGBrgb(48, 71, 172)
HSLhsl(229, 56%, 43%)
HSVhsv(229, 72%, 67%)
CMYKcmyk(72.1%, 58.7%, 0%, 32.5%)
CIE-LABlab(34.22, 26.59, -56.68)
CIE-LCHlch(34.22, 62.60, 295.14°)
OKLaboklab(44.31% -0.0031 -0.1634)
OKLCHoklch(44.31% 0.163 268.9)
XYZxyz(10.9160, 8.1123, 40.0123)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3047AC #AC9530
analogous
#3085AC #3047AC #5730AC
triadic
#3047AC #AC3047 #47AC30
tetradic
#3047AC #AC3085 #AC9530 #30AC57
square
#3047AC #AC3085 #AC9530 #30AC57
split-complementary
#3047AC #AC5730 #85AC30
monochromatic
#151F4C #23337C #3047AC #4C64CD #7C8DDA

Accessibility & contrast

On white

8.01
#3047AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3047AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3047AC
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3047AC#FFFFFF#000000##FFFFFF
##3047AC1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#004BAA
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3047ac;
/* rgb */ color: rgb(48, 71, 172);
/* oklch */ color: oklch(44.3% 0.163 268.9);
Tailwind
colors: {
  custom: {
    50: '#7979c6',
    500: '#3047ac',
    950: '#000000',
  },
}
SCSS
$custom: #3047ac;
$custom-light: #7979c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3047ac",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 228.871,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44305,
    "c": 0.16347,
    "h": 268.9
  },
  "luminance": 0.08113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3047AC

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

Preview Lab → · Contrast checker → · Palette generator →

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