#3147B3#3147B3

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

Color values

HEX#3147B3
RGBrgb(49, 71, 179)
HSLhsl(230, 57%, 45%)
HSVhsv(230, 73%, 70%)
CMYKcmyk(72.6%, 60.3%, 0%, 29.8%)
CIE-LABlab(34.83, 29.31, -59.83)
CIE-LCHlch(34.83, 66.63, 296.10°)
OKLaboklab(44.95% -0.002 -0.1727)
OKLCHoklch(44.95% 0.173 269.3)
XYZxyz(11.6537, 8.4129, 43.6488)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3147B3 #B39D31
analogous
#3188B3 #3147B3 #5C31B3
triadic
#3147B3 #B33147 #47B331
tetradic
#3147B3 #B33188 #B39D31 #31B35C
square
#3147B3 #B33188 #B39D31 #31B35C
split-complementary
#3147B3 #B35C31 #88B331
monochromatic
#172153 #243483 #3147B3 #5267D0 #8291DD

Accessibility & contrast

On white

7.83
#3147B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3147B3
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3147B3#FFFFFF#000000##FFFFFF
##3147B31.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.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: #3147b3;
/* rgb */ color: rgb(49, 71, 179);
/* oklch */ color: oklch(45.0% 0.173 269.3);
Tailwind
colors: {
  custom: {
    50: '#7b7acb',
    500: '#3147b3',
    950: '#000000',
  },
}
SCSS
$custom: #3147b3;
$custom-light: #7b7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3147b3",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 179
  },
  "hsl": {
    "h": 229.846,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44951,
    "c": 0.17271,
    "h": 269.3
  },
  "luminance": 0.08414
}

Semantic roles & 50–950 ramp

primary
#3147B3
secondary
#C6B97A
accent
#C648E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3147B3

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

Preview Lab → · Contrast checker → · Palette generator →

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