#3047A2#3047A2

#3047A2 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.5% C 0.150 H 268.7°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#3047A2
RGBrgb(48, 71, 162)
HSLhsl(228, 54%, 41%)
HSVhsv(228, 70%, 64%)
CMYKcmyk(70.4%, 56.2%, 0%, 36.5%)
CIE-LABlab(33.44, 22.87, -51.95)
CIE-LCHlch(33.44, 56.76, 293.76°)
OKLaboklab(43.48% -0.0034 -0.1495)
OKLCHoklch(43.48% 0.15 268.7)
XYZxyz(9.9915, 7.7425, 35.1433)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3047A2 #A28B30
analogous
#3080A2 #3047A2 #5230A2
triadic
#3047A2 #A23047 #47A230
tetradic
#3047A2 #A23080 #A28B30 #30A252
square
#3047A2 #A23080 #A28B30 #30A252
split-complementary
#3047A2 #A25230 #80A230
monochromatic
#141E44 #223273 #3047A2 #4761C8 #7689D6

Accessibility & contrast

On white

8.24
#3047A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3047A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3047A2
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3047A2#FFFFFF#000000##FFFFFF
##3047A21.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3047a2;
/* rgb */ color: rgb(48, 71, 162);
/* oklch */ color: oklch(43.5% 0.150 268.7);
Tailwind
colors: {
  custom: {
    50: '#7779be',
    500: '#3047a2',
    950: '#000000',
  },
}
SCSS
$custom: #3047a2;
$custom-light: #7779be;
$custom-dark: #000000;
JSON
{
  "hex": "#3047a2",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 162
  },
  "hsl": {
    "h": 227.895,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43481,
    "c": 0.14959,
    "h": 268.7
  },
  "luminance": 0.07743
}

Semantic roles & 50–950 ramp

primary
#3047A2
secondary
#BEAE6F
accent
#C04ADE
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3047A2

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

Preview Lab → · Contrast checker → · Palette generator →

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