#3047B3#3047B3

#3047B3 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.9% C 0.173 H 269.0°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#3047B3
RGBrgb(48, 71, 179)
HSLhsl(229, 58%, 45%)
HSVhsv(229, 73%, 70%)
CMYKcmyk(73.2%, 60.3%, 0%, 29.8%)
CIE-LABlab(34.78, 29.18, -59.92)
CIE-LCHlch(34.78, 66.65, 295.97°)
OKLaboklab(44.9% -0.003 -0.173)
OKLCHoklch(44.9% 0.173 269)
XYZxyz(11.6060, 8.3883, 43.6465)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3047B3 #B39C30
analogous
#3088B3 #3047B3 #5B30B3
triadic
#3047B3 #B33047 #47B330
tetradic
#3047B3 #B33088 #B39C30 #30B35B
square
#3047B3 #B33088 #B39C30 #30B35B
split-complementary
#3047B3 #B35B30 #88B330
monochromatic
#162152 #233483 #3047B3 #5067D0 #8091DD

Accessibility & contrast

On white

7.84
#3047B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3047B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3047B3#FFFFFF#000000##FFFFFF
##3047B31.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#004CB1
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3047b3;
/* rgb */ color: rgb(48, 71, 179);
/* oklch */ color: oklch(44.9% 0.173 269.0);
Tailwind
colors: {
  custom: {
    50: '#7b7acb',
    500: '#3047b3',
    950: '#000000',
  },
}
SCSS
$custom: #3047b3;
$custom-light: #7b7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3047b3",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 179
  },
  "hsl": {
    "h": 229.466,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.449,
    "c": 0.17299,
    "h": 269
  },
  "luminance": 0.0839
}

Semantic roles & 50–950 ramp

primary
#3047B3
secondary
#C6B879
accent
#C647E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3047B3

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

Preview Lab → · Contrast checker → · Palette generator →

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