#3047B1#3047B1

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

Color values

HEX#3047B1
RGBrgb(48, 71, 177)
HSLhsl(229, 57%, 44%)
HSVhsv(229, 73%, 69%)
CMYKcmyk(72.9%, 59.9%, 0%, 30.6%)
CIE-LABlab(34.62, 28.44, -59.00)
CIE-LCHlch(34.62, 65.50, 295.74°)
OKLaboklab(44.73% -0.003 -0.1703)
OKLCHoklch(44.73% 0.17 269)
XYZxyz(11.4052, 8.3080, 42.5890)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3047B1 #B19A30
analogous
#3088B1 #3047B1 #5A30B1
triadic
#3047B1 #B13047 #47B130
tetradic
#3047B1 #B13088 #B19A30 #30B15A
square
#3047B1 #B13088 #B19A30 #30B15A
split-complementary
#3047B1 #B15A30 #88B130
monochromatic
#162051 #233481 #3047B1 #4F66CF #7F90DC

Accessibility & contrast

On white

7.89
#3047B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3047B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3047B1#FFFFFF#000000##FFFFFF
##3047B11.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#004CAF
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3047b1;
/* rgb */ color: rgb(48, 71, 177);
/* oklch */ color: oklch(44.7% 0.170 269.0);
Tailwind
colors: {
  custom: {
    50: '#7a7ac9',
    500: '#3047b1',
    950: '#000000',
  },
}
SCSS
$custom: #3047b1;
$custom-light: #7a7ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#3047b1",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 177
  },
  "hsl": {
    "h": 229.302,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44729,
    "c": 0.17029,
    "h": 269
  },
  "luminance": 0.08309
}

Semantic roles & 50–950 ramp

primary
#3047B1
secondary
#C5B778
accent
#C547E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3047B1

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

Preview Lab → · Contrast checker → · Palette generator →

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