#3047AF#3047AF

#3047AF is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.6% C 0.168 H 269.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#3047AF
RGBrgb(48, 71, 175)
HSLhsl(229, 57%, 44%)
HSVhsv(229, 73%, 69%)
CMYKcmyk(72.6%, 59.4%, 0%, 31.4%)
CIE-LABlab(34.45, 27.71, -58.07)
CIE-LCHlch(34.45, 64.34, 295.51°)
OKLaboklab(44.56% -0.003 -0.1675)
OKLCHoklch(44.56% 0.168 269)
XYZxyz(11.2074, 8.2288, 41.5468)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3047AF #AF9830
analogous
#3086AF #3047AF #5830AF
triadic
#3047AF #AF3047 #47AF30
tetradic
#3047AF #AF3086 #AF9830 #30AF58
square
#3047AF #AF3086 #AF9830 #30AF58
split-complementary
#3047AF #AF5830 #86AF30
monochromatic
#16204F #23347F #3047AF #4E65CE #7E8FDC

Accessibility & contrast

On white

7.94
#3047AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3047AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3047AF#FFFFFF#000000##FFFFFF
##3047AF1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3047af;
/* rgb */ color: rgb(48, 71, 175);
/* oklch */ color: oklch(44.6% 0.168 269.0);
Tailwind
colors: {
  custom: {
    50: '#7a7ac8',
    500: '#3047af',
    950: '#000000',
  },
}
SCSS
$custom: #3047af;
$custom-light: #7a7ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#3047af",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 229.134,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44558,
    "c": 0.16757,
    "h": 269
  },
  "luminance": 0.0823
}

Semantic roles & 50–950 ramp

primary
#3047AF
secondary
#C4B676
accent
#C548E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #3047AF

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

Preview Lab → · Contrast checker → · Palette generator →

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