#3147B9#3147B9

#3147B9 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.5% C 0.181 H 269.3°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#3147B9
RGBrgb(49, 71, 185)
HSLhsl(230, 58%, 46%)
HSVhsv(230, 74%, 73%)
CMYKcmyk(73.5%, 61.6%, 0%, 27.5%)
CIE-LABlab(35.32, 31.51, -62.57)
CIE-LCHlch(35.32, 70.06, 296.73°)
OKLaboklab(45.47% -0.0021 -0.1807)
OKLCHoklch(45.47% 0.181 269.3)
XYZxyz(12.2738, 8.6609, 46.9144)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3147B9 #B9A331
analogous
#318BB9 #3147B9 #5F31B9
triadic
#3147B9 #B93147 #47B931
tetradic
#3147B9 #B9318B #B9A331 #31B95F
square
#3147B9 #B9318B #B9A331 #31B95F
split-complementary
#3147B9 #B95F31 #8BB931
monochromatic
#172258 #243489 #3147B9 #5569D2 #8694DF

Accessibility & contrast

On white

7.69
#3147B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3147B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3147B9
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3147B9#FFFFFF#000000##FFFFFF
##3147B91.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABD
Deuteranopia (green-blind)
#004DB7
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3147b9;
/* rgb */ color: rgb(49, 71, 185);
/* oklch */ color: oklch(45.5% 0.181 269.3);
Tailwind
colors: {
  custom: {
    50: '#7d7acf',
    500: '#3147b9',
    950: '#000000',
  },
}
SCSS
$custom: #3147b9;
$custom-light: #7d7acf;
$custom-dark: #000000;
JSON
{
  "hex": "#3147b9",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 185
  },
  "hsl": {
    "h": 230.294,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45471,
    "c": 0.18074,
    "h": 269.3
  },
  "luminance": 0.08662
}

Semantic roles & 50–950 ramp

primary
#3147B9
secondary
#C8BC7D
accent
#C846E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3147B9

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

Preview Lab → · Contrast checker → · Palette generator →

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