#4149B2#4149B2

#4149B2 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.2% C 0.165 H 274.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#4149B2
RGBrgb(65, 73, 178)
HSLhsl(236, 47%, 48%)
HSVhsv(236, 63%, 70%)
CMYKcmyk(63.5%, 59%, 0%, 30.2%)
CIE-LABlab(36.18, 30.00, -57.00)
CIE-LCHlch(36.18, 64.41, 297.76°)
OKLaboklab(46.18% 0.0133 -0.164)
OKLCHoklch(46.18% 0.165 274.6)
XYZxyz(12.5958, 9.1022, 43.2040)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4149B2 #B2AA41
analogous
#4182B2 #4149B2 #7141B2
triadic
#4149B2 #B24149 #49B241
tetradic
#4149B2 #B24182 #B2AA41 #41B271
square
#4149B2 #B24182 #B2AA41 #41B271
split-complementary
#4149B2 #B27141 #82B241
monochromatic
#202458 #313785 #4149B2 #686FC8 #959AD8

Accessibility & contrast

On white

7.45
#4149B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4149B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4149B2
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4149B2#FFFFFF#000000##FFFFFF
##4149B21.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4149b2;
/* rgb */ color: rgb(65, 73, 178);
/* oklch */ color: oklch(46.2% 0.165 274.6);
Tailwind
colors: {
  custom: {
    50: '#827bca',
    500: '#4149b2',
    950: '#000000',
  },
}
SCSS
$custom: #4149b2;
$custom-light: #827bca;
$custom-dark: #000000;
JSON
{
  "hex": "#4149b2",
  "rgb": {
    "r": 65,
    "g": 73,
    "b": 178
  },
  "hsl": {
    "h": 235.752,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46176,
    "c": 0.16451,
    "h": 274.6
  },
  "luminance": 0.09103
}

Semantic roles & 50–950 ramp

primary
#4149B2
secondary
#C4C08B
accent
#CD52D6
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4149B2

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

Preview Lab → · Contrast checker → · Palette generator →

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