#4148D5#4148D5

#4148D5 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.0% C 0.212 H 273.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#4148D5
RGBrgb(65, 72, 213)
HSLhsl(237, 64%, 55%)
HSVhsv(237, 69%, 84%)
CMYKcmyk(69.5%, 66.2%, 0%, 16.5%)
CIE-LABlab(38.83, 42.60, -73.09)
CIE-LCHlch(38.83, 84.60, 300.24°)
OKLaboklab(49.02% 0.0122 -0.2112)
OKLCHoklch(49.02% 0.212 273.3)
XYZxyz(16.5036, 10.5611, 64.1066)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4148D5 #D5CE41
analogous
#4192D5 #4148D5 #8441D5
triadic
#4148D5 #D54148 #48D541
tetradic
#4148D5 #D54192 #D5CE41 #41D584
square
#4148D5 #D54192 #D5CE41 #41D584
split-complementary
#4148D5 #D58441 #92D541
monochromatic
#1C217F #272EB2 #4148D5 #7378E0 #A5A9EB

Accessibility & contrast

On white

6.75
#4148D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4148D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4148D5
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4148D5#FFFFFF#000000##FFFFFF
##4148D51.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D9
Deuteranopia (green-blind)
#0055D2
Tritanopia (blue-blind)
#006D88
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4148d5;
/* rgb */ color: rgb(65, 72, 213);
/* oklch */ color: oklch(49.0% 0.212 273.3);
Tailwind
colors: {
  custom: {
    50: '#897be3',
    500: '#4148d5',
    950: '#000000',
  },
}
SCSS
$custom: #4148d5;
$custom-light: #897be3;
$custom-dark: #000000;
JSON
{
  "hex": "#4148d5",
  "rgb": {
    "r": 65,
    "g": 72,
    "b": 213
  },
  "hsl": {
    "h": 237.162,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49016,
    "c": 0.21153,
    "h": 273.3
  },
  "luminance": 0.10563
}

Semantic roles & 50–950 ramp

primary
#4148D5
secondary
#D8D59A
accent
#DF41E7
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #4148D5

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

Preview Lab → · Contrast checker → · Palette generator →

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