#4148DA#4148DA

#4148DA is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.5% C 0.218 H 273.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#4148DA
RGBrgb(65, 72, 218)
HSLhsl(237, 67%, 55%)
HSVhsv(237, 70%, 85%)
CMYKcmyk(70.2%, 67%, 0%, 14.5%)
CIE-LABlab(39.27, 44.28, -75.24)
CIE-LCHlch(39.27, 87.30, 300.48°)
OKLaboklab(49.47% 0.0117 -0.2174)
OKLCHoklch(49.47% 0.218 273.1)
XYZxyz(17.1480, 10.8188, 67.5006)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4148DA #DAD341
analogous
#4194DA #4148DA #8641DA
triadic
#4148DA #DA4148 #48DA41
tetradic
#4148DA #DA4194 #DAD341 #41DA86
square
#4148DA #DA4194 #DAD341 #41DA86
split-complementary
#4148DA #DA8641 #94DA41
monochromatic
#1A1F86 #242BBA #4148DA #7479E4 #A7ABEE

Accessibility & contrast

On white

6.64
#4148DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4148DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4148DA
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4148DA#FFFFFF#000000##FFFFFF
##4148DA1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DF
Deuteranopia (green-blind)
#0055D7
Tritanopia (blue-blind)
#006F8B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4148da;
/* rgb */ color: rgb(65, 72, 218);
/* oklch */ color: oklch(49.5% 0.218 273.1);
Tailwind
colors: {
  custom: {
    50: '#8a7be7',
    500: '#4148da',
    950: '#000000',
  },
}
SCSS
$custom: #4148da;
$custom-light: #8a7be7;
$custom-dark: #000000;
JSON
{
  "hex": "#4148da",
  "rgb": {
    "r": 65,
    "g": 72,
    "b": 218
  },
  "hsl": {
    "h": 237.255,
    "s": 67.401,
    "l": 55.49
  },
  "oklch": {
    "l": 0.49472,
    "c": 0.21777,
    "h": 273.1
  },
  "luminance": 0.10821
}

Semantic roles & 50–950 ramp

primary
#4148DA
secondary
#DBD89C
accent
#E23EEA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #4148DA

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

Preview Lab → · Contrast checker → · Palette generator →

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