#3047B2#3047B2

#3047B2 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.8% C 0.172 H 269.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#3047B2
RGBrgb(48, 71, 178)
HSLhsl(229, 58%, 44%)
HSVhsv(229, 73%, 70%)
CMYKcmyk(73%, 60.1%, 0%, 30.2%)
CIE-LABlab(34.70, 28.81, -59.46)
CIE-LCHlch(34.70, 66.07, 295.86°)
OKLaboklab(44.81% -0.003 -0.1716)
OKLCHoklch(44.81% 0.172 269)
XYZxyz(11.5053, 8.3480, 43.1158)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3047B2 #B29B30
analogous
#3088B2 #3047B2 #5A30B2
triadic
#3047B2 #B23047 #47B230
tetradic
#3047B2 #B23088 #B29B30 #30B25A
square
#3047B2 #B23088 #B29B30 #30B25A
split-complementary
#3047B2 #B25A30 #88B230
monochromatic
#162152 #233482 #3047B2 #5066D0 #8090DD

Accessibility & contrast

On white

7.87
#3047B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3047B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3047B2#FFFFFF#000000##FFFFFF
##3047B21.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3047b2;
/* rgb */ color: rgb(48, 71, 178);
/* oklch */ color: oklch(44.8% 0.172 269.0);
Tailwind
colors: {
  custom: {
    50: '#7b7aca',
    500: '#3047b2',
    950: '#000000',
  },
}
SCSS
$custom: #3047b2;
$custom-light: #7b7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#3047b2",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 229.385,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44814,
    "c": 0.17164,
    "h": 269
  },
  "luminance": 0.08349
}

Semantic roles & 50–950 ramp

primary
#3047B2
secondary
#C6B878
accent
#C647E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3047B2

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

Preview Lab → · Contrast checker → · Palette generator →

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