#3047AB#3047AB

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

Color values

HEX#3047AB
RGBrgb(48, 71, 171)
HSLhsl(229, 56%, 43%)
HSVhsv(229, 72%, 67%)
CMYKcmyk(71.9%, 58.5%, 0%, 32.9%)
CIE-LABlab(34.14, 26.22, -56.21)
CIE-LCHlch(34.14, 62.02, 295.01°)
OKLaboklab(44.22% -0.0031 -0.1621)
OKLCHoklch(44.22% 0.162 268.9)
XYZxyz(10.8203, 8.0740, 39.5084)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3047AB #AB9430
analogous
#3085AB #3047AB #5630AB
triadic
#3047AB #AB3047 #47AB30
tetradic
#3047AB #AB3085 #AB9430 #30AB56
square
#3047AB #AB3085 #AB9430 #30AB56
split-complementary
#3047AB #AB5630 #85AB30
monochromatic
#151F4B #23337B #3047AB #4C64CD #7B8DDA

Accessibility & contrast

On white

8.03
#3047AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##3047AB#FFFFFF#000000##FFFFFF
##3047AB1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3047ab;
/* rgb */ color: rgb(48, 71, 171);
/* oklch */ color: oklch(44.2% 0.162 268.9);
Tailwind
colors: {
  custom: {
    50: '#7979c5',
    500: '#3047ab',
    950: '#000000',
  },
}
SCSS
$custom: #3047ab;
$custom-light: #7979c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3047ab",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 171
  },
  "hsl": {
    "h": 228.78,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44221,
    "c": 0.1621,
    "h": 268.9
  },
  "luminance": 0.08075
}

Semantic roles & 50–950 ramp

primary
#3047AB
secondary
#C3B474
accent
#C348DF
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #3047AB

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

Preview Lab → · Contrast checker → · Palette generator →

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