#4147B3#4147B3

#4147B3 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.9% C 0.168 H 275.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#4147B3
RGBrgb(65, 71, 179)
HSLhsl(237, 47%, 48%)
HSVhsv(237, 64%, 70%)
CMYKcmyk(63.7%, 60.3%, 0%, 29.8%)
CIE-LABlab(35.76, 31.62, -58.28)
CIE-LCHlch(35.76, 66.30, 298.48°)
OKLaboklab(45.89% 0.0151 -0.1677)
OKLCHoklch(45.89% 0.168 275.1)
XYZxyz(12.5672, 8.8839, 43.6916)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147B3 #B3AD41
analogous
#4180B3 #4147B3 #7441B3
triadic
#4147B3 #B34147 #47B341
tetradic
#4147B3 #B34180 #B3AD41 #41B374
square
#4147B3 #B34180 #B3AD41 #41B374
split-complementary
#4147B3 #B37441 #80B341
monochromatic
#202359 #313586 #4147B3 #696EC8 #9699D9

Accessibility & contrast

On white

7.56
#4147B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4147B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4147B3
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147B3#FFFFFF#000000##FFFFFF
##4147B31.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4147b3;
/* rgb */ color: rgb(65, 71, 179);
/* oklch */ color: oklch(45.9% 0.168 275.1);
Tailwind
colors: {
  custom: {
    50: '#827acb',
    500: '#4147b3',
    950: '#000000',
  },
}
SCSS
$custom: #4147b3;
$custom-light: #827acb;
$custom-dark: #000000;
JSON
{
  "hex": "#4147b3",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 179
  },
  "hsl": {
    "h": 236.842,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45889,
    "c": 0.16842,
    "h": 275.1
  },
  "luminance": 0.08885
}

Semantic roles & 50–950 ramp

primary
#4147B3
secondary
#C4C18B
accent
#CF51D6
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4147B3

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

Preview Lab → · Contrast checker → · Palette generator →

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