#4148DE#4148DE

#4148DE is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.8% C 0.223 H 272.9°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#4148DE
RGBrgb(65, 72, 222)
HSLhsl(237, 70%, 56%)
HSVhsv(237, 71%, 87%)
CMYKcmyk(70.7%, 67.6%, 0%, 12.9%)
CIE-LABlab(39.63, 45.61, -76.94)
CIE-LCHlch(39.63, 89.44, 300.66°)
OKLaboklab(49.84% 0.0113 -0.2224)
OKLCHoklch(49.84% 0.223 272.9)
XYZxyz(17.6777, 11.0307, 70.2906)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4148DE #DED741
analogous
#4197DE #4148DE #8941DE
triadic
#4148DE #DE4148 #48DE41
tetradic
#4148DE #DE4197 #DED741 #41DE89
square
#4148DE #DE4197 #DED741 #41DE89
split-complementary
#4148DE #DE8941 #97DE41
monochromatic
#181E8C #2129C0 #4148DE #757AE7 #A9ACF0

Accessibility & contrast

On white

6.55
#4148DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4148DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4148DE
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4148DE#FFFFFF#000000##FFFFFF
##4148DE1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E3
Deuteranopia (green-blind)
#0056DB
Tritanopia (blue-blind)
#00718D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4148de;
/* rgb */ color: rgb(65, 72, 222);
/* oklch */ color: oklch(49.8% 0.223 272.9);
Tailwind
colors: {
  custom: {
    50: '#8b7cea',
    500: '#4148de',
    950: '#000000',
  },
}
SCSS
$custom: #4148de;
$custom-light: #8b7cea;
$custom-dark: #000000;
JSON
{
  "hex": "#4148de",
  "rgb": {
    "r": 65,
    "g": 72,
    "b": 222
  },
  "hsl": {
    "h": 237.325,
    "s": 70.404,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49841,
    "c": 0.22271,
    "h": 272.9
  },
  "luminance": 0.11032
}

Semantic roles & 50–950 ramp

primary
#4148DE
secondary
#DEDB9D
accent
#E53BED
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4148DE

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

Preview Lab → · Contrast checker → · Palette generator →

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