#4148D3#4148D3

#4148D3 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 48.8% C 0.209 H 273.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#4148D3
RGBrgb(65, 72, 211)
HSLhsl(237, 62%, 54%)
HSVhsv(237, 69%, 83%)
CMYKcmyk(69.2%, 65.9%, 0%, 17.3%)
CIE-LABlab(38.66, 41.93, -72.23)
CIE-LCHlch(38.66, 83.52, 300.14°)
OKLaboklab(48.84% 0.0124 -0.2086)
OKLCHoklch(48.84% 0.209 273.4)
XYZxyz(16.2513, 10.4601, 62.7779)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4148D3 #D3CC41
analogous
#4191D3 #4148D3 #8341D3
triadic
#4148D3 #D34148 #48D341
tetradic
#4148D3 #D34191 #D3CC41 #41D383
square
#4148D3 #D34191 #D3CC41 #41D383
split-complementary
#4148D3 #D38341 #91D341
monochromatic
#1D217D #282FAE #4148D3 #7378DF #A4A8EA

Accessibility & contrast

On white

6.79
#4148D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4148D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4148D3
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4148D3#FFFFFF#000000##FFFFFF
##4148D31.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D7
Deuteranopia (green-blind)
#0054D0
Tritanopia (blue-blind)
#006D87
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4148d3;
/* rgb */ color: rgb(65, 72, 211);
/* oklch */ color: oklch(48.8% 0.209 273.4);
Tailwind
colors: {
  custom: {
    50: '#887be2',
    500: '#4148d3',
    950: '#000000',
  },
}
SCSS
$custom: #4148d3;
$custom-light: #887be2;
$custom-dark: #000000;
JSON
{
  "hex": "#4148d3",
  "rgb": {
    "r": 65,
    "g": 72,
    "b": 211
  },
  "hsl": {
    "h": 237.123,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.48835,
    "c": 0.20902,
    "h": 273.4
  },
  "luminance": 0.10462
}

Semantic roles & 50–950 ramp

primary
#4148D3
secondary
#D7D499
accent
#DE42E5
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0915
muted
#7E7B84

Preview Lab

Preview with #4148D3

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

Preview Lab → · Contrast checker → · Palette generator →

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