#3047AA#3047AA

#3047AA is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.1% C 0.161 H 268.9°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#3047AA
RGBrgb(48, 71, 170)
HSLhsl(229, 56%, 43%)
HSVhsv(229, 72%, 67%)
CMYKcmyk(71.8%, 58.2%, 0%, 33.3%)
CIE-LABlab(34.06, 25.85, -55.74)
CIE-LCHlch(34.06, 61.44, 294.88°)
OKLaboklab(44.14% -0.0031 -0.1607)
OKLCHoklch(44.14% 0.161 268.9)
XYZxyz(10.7254, 8.0360, 39.0083)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3047AA #AA9330
analogous
#3084AA #3047AA #5630AA
triadic
#3047AA #AA3047 #47AA30
tetradic
#3047AA #AA3084 #AA9330 #30AA56
square
#3047AA #AA3084 #AA9330 #30AA56
split-complementary
#3047AA #AA5630 #84AA30
monochromatic
#151F4B #23337A #3047AA #4B63CC #7B8DDA

Accessibility & contrast

On white

8.05
#3047AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3047AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3047AA#FFFFFF#000000##FFFFFF
##3047AA1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3047aa;
/* rgb */ color: rgb(48, 71, 170);
/* oklch */ color: oklch(44.1% 0.161 268.9);
Tailwind
colors: {
  custom: {
    50: '#7979c4',
    500: '#3047aa',
    950: '#000000',
  },
}
SCSS
$custom: #3047aa;
$custom-light: #7979c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3047aa",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 228.689,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44138,
    "c": 0.16072,
    "h": 268.9
  },
  "luminance": 0.08037
}

Semantic roles & 50–950 ramp

primary
#3047AA
secondary
#C2B374
accent
#C349DF
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #3047AA

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

Preview Lab → · Contrast checker → · Palette generator →

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