#4148B2#4148B2

#4148B2 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.0% C 0.166 H 274.9°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#4148B2
RGBrgb(65, 72, 178)
HSLhsl(236, 47%, 48%)
HSVhsv(236, 63%, 70%)
CMYKcmyk(63.5%, 59.6%, 0%, 30.2%)
CIE-LABlab(35.93, 30.64, -57.41)
CIE-LCHlch(35.93, 65.07, 298.09°)
OKLaboklab(45.99% 0.0142 -0.1652)
OKLCHoklch(45.99% 0.166 274.9)
XYZxyz(12.5306, 8.9719, 43.1823)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4148B2 #B2AB41
analogous
#4181B2 #4148B2 #7241B2
triadic
#4148B2 #B24148 #48B241
tetradic
#4148B2 #B24181 #B2AB41 #41B272
square
#4148B2 #B24181 #B2AB41 #41B272
split-complementary
#4148B2 #B27241 #81B241
monochromatic
#202458 #313685 #4148B2 #686EC8 #9599D8

Accessibility & contrast

On white

7.51
#4148B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4148B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4148B2
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4148B2#FFFFFF#000000##FFFFFF
##4148B21.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4148b2;
/* rgb */ color: rgb(65, 72, 178);
/* oklch */ color: oklch(46.0% 0.166 274.9);
Tailwind
colors: {
  custom: {
    50: '#827bca',
    500: '#4148b2',
    950: '#000000',
  },
}
SCSS
$custom: #4148b2;
$custom-light: #827bca;
$custom-dark: #000000;
JSON
{
  "hex": "#4148b2",
  "rgb": {
    "r": 65,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 236.283,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4599,
    "c": 0.16578,
    "h": 274.9
  },
  "luminance": 0.08973
}

Semantic roles & 50–950 ramp

primary
#4148B2
secondary
#C4C08B
accent
#CE52D6
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4148B2

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

Preview Lab → · Contrast checker → · Palette generator →

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