#4148B3#4148B3

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

Color values

HEX#4148B3
RGBrgb(65, 72, 179)
HSLhsl(236, 47%, 48%)
HSVhsv(236, 64%, 70%)
CMYKcmyk(63.7%, 59.8%, 0%, 29.8%)
CIE-LABlab(36.01, 30.98, -57.87)
CIE-LCHlch(36.01, 65.65, 298.16°)
OKLaboklab(46.07% 0.0142 -0.1665)
OKLCHoklch(46.07% 0.167 274.9)
XYZxyz(12.6313, 9.0122, 43.7130)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4148B3 #B3AC41
analogous
#4181B3 #4148B3 #7341B3
triadic
#4148B3 #B34148 #48B341
tetradic
#4148B3 #B34181 #B3AC41 #41B373
square
#4148B3 #B34181 #B3AC41 #41B373
split-complementary
#4148B3 #B37341 #81B341
monochromatic
#202459 #313686 #4148B3 #696FC8 #969AD9

Accessibility & contrast

On white

7.49
#4148B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4148B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4148B3
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4148B3#FFFFFF#000000##FFFFFF
##4148B31.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4148b3;
/* rgb */ color: rgb(65, 72, 179);
/* oklch */ color: oklch(46.1% 0.167 274.9);
Tailwind
colors: {
  custom: {
    50: '#827bcb',
    500: '#4148b3',
    950: '#000000',
  },
}
SCSS
$custom: #4148b3;
$custom-light: #827bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4148b3",
  "rgb": {
    "r": 65,
    "g": 72,
    "b": 179
  },
  "hsl": {
    "h": 236.316,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46072,
    "c": 0.16715,
    "h": 274.9
  },
  "luminance": 0.09013
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4148B3

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

Preview Lab → · Contrast checker → · Palette generator →

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