#4149B5#4149B5

#4149B5 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.4% C 0.169 H 274.5°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#4149B5
RGBrgb(65, 73, 181)
HSLhsl(236, 47%, 48%)
HSVhsv(236, 64%, 71%)
CMYKcmyk(64.1%, 59.7%, 0%, 29%)
CIE-LABlab(36.41, 31.04, -58.40)
CIE-LCHlch(36.41, 66.13, 297.99°)
OKLaboklab(46.42% 0.0133 -0.1681)
OKLCHoklch(46.42% 0.169 274.5)
XYZxyz(12.9003, 9.2240, 44.8077)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4149B5 #B5AD41
analogous
#4183B5 #4149B5 #7341B5
triadic
#4149B5 #B54149 #49B541
tetradic
#4149B5 #B54183 #B5AD41 #41B573
square
#4149B5 #B54183 #B5AD41 #41B573
split-complementary
#4149B5 #B57341 #83B541
monochromatic
#21255B #313788 #4149B5 #6A70C9 #979BDA

Accessibility & contrast

On white

7.38
#4149B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4149B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4149B5
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4149B5#FFFFFF#000000##FFFFFF
##4149B51.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#006378
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4149b5;
/* rgb */ color: rgb(65, 73, 181);
/* oklch */ color: oklch(46.4% 0.169 274.5);
Tailwind
colors: {
  custom: {
    50: '#827bcc',
    500: '#4149b5',
    950: '#000000',
  },
}
SCSS
$custom: #4149b5;
$custom-light: #827bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4149b5",
  "rgb": {
    "r": 65,
    "g": 73,
    "b": 181
  },
  "hsl": {
    "h": 235.862,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4642,
    "c": 0.1686,
    "h": 274.5
  },
  "luminance": 0.09225
}

Semantic roles & 50–950 ramp

primary
#4149B5
secondary
#C5C18C
accent
#CE51D7
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4149B5

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

Preview Lab → · Contrast checker → · Palette generator →

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