#4149BA#4149BA

#4149BA is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.8% C 0.175 H 274.3°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#4149BA
RGBrgb(65, 73, 186)
HSLhsl(236, 48%, 49%)
HSVhsv(236, 65%, 73%)
CMYKcmyk(65.1%, 60.8%, 0%, 27.1%)
CIE-LABlab(36.80, 32.77, -60.70)
CIE-LCHlch(36.80, 68.98, 298.36°)
OKLaboklab(46.83% 0.0132 -0.1748)
OKLCHoklch(46.83% 0.175 274.3)
XYZxyz(13.4225, 9.4329, 47.5582)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4149BA #BAB241
analogous
#4186BA #4149BA #7641BA
triadic
#4149BA #BA4149 #49BA41
tetradic
#4149BA #BA4186 #BAB241 #41BA76
square
#4149BA #BA4186 #BAB241 #41BA76
split-complementary
#4149BA #BA7641 #86BA41
monochromatic
#21255F #31378D #4149BA #6C73CC #9A9EDC

Accessibility & contrast

On white

7.27
#4149BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4149BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4149BA
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4149BA#FFFFFF#000000##FFFFFF
##4149BA1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4149ba;
/* rgb */ color: rgb(65, 73, 186);
/* oklch */ color: oklch(46.8% 0.175 274.3);
Tailwind
colors: {
  custom: {
    50: '#837cd0',
    500: '#4149ba',
    950: '#000000',
  },
}
SCSS
$custom: #4149ba;
$custom-light: #837cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4149ba",
  "rgb": {
    "r": 65,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 236.033,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46833,
    "c": 0.17535,
    "h": 274.3
  },
  "luminance": 0.09434
}

Semantic roles & 50–950 ramp

primary
#4149BA
secondary
#C8C48F
accent
#CF50D8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4149BA

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

Preview Lab → · Contrast checker → · Palette generator →

#4149BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva