#4148D2#4148D2

#4148D2 is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 48.7% C 0.208 H 273.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#4148D2
RGBrgb(65, 72, 210)
HSLhsl(237, 62%, 54%)
HSVhsv(237, 69%, 82%)
CMYKcmyk(69%, 65.7%, 0%, 17.6%)
CIE-LABlab(38.57, 41.59, -71.79)
CIE-LCHlch(38.57, 82.97, 300.08°)
OKLaboklab(48.75% 0.0125 -0.2074)
OKLCHoklch(48.75% 0.208 273.4)
XYZxyz(16.1263, 10.4102, 62.1198)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4148D2 #D2CB41
analogous
#4191D2 #4148D2 #8341D2
triadic
#4148D2 #D24148 #48D241
tetradic
#4148D2 #D24191 #D2CB41 #41D283
square
#4148D2 #D24191 #D2CB41 #41D283
split-complementary
#4148D2 #D28341 #91D241
monochromatic
#1D227B #292FAD #4148D2 #7278DE #A4A7E9

Accessibility & contrast

On white

6.81
#4148D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4148D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4148D2
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4148D2#FFFFFF#000000##FFFFFF
##4148D21.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#0054CF
Tritanopia (blue-blind)
#006C87
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4148d2;
/* rgb */ color: rgb(65, 72, 210);
/* oklch */ color: oklch(48.7% 0.208 273.4);
Tailwind
colors: {
  custom: {
    50: '#887be1',
    500: '#4148d2',
    950: '#000000',
  },
}
SCSS
$custom: #4148d2;
$custom-light: #887be1;
$custom-dark: #000000;
JSON
{
  "hex": "#4148d2",
  "rgb": {
    "r": 65,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 237.103,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48745,
    "c": 0.20776,
    "h": 273.4
  },
  "luminance": 0.10412
}

Semantic roles & 50–950 ramp

primary
#4148D2
secondary
#D6D398
accent
#DD43E5
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4148D2

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

Preview Lab → · Contrast checker → · Palette generator →

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