#4148CE#4148CE

#4148CE is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.4% C 0.203 H 273.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#4148CE
RGBrgb(65, 72, 206)
HSLhsl(237, 59%, 53%)
HSVhsv(237, 68%, 81%)
CMYKcmyk(68.4%, 65%, 0%, 19.2%)
CIE-LABlab(38.22, 40.24, -70.05)
CIE-LCHlch(38.22, 80.78, 299.87°)
OKLaboklab(48.39% 0.0128 -0.2023)
OKLCHoklch(48.39% 0.203 273.6)
XYZxyz(15.6342, 10.2133, 59.5280)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4148CE #CEC741
analogous
#418FCE #4148CE #8041CE
triadic
#4148CE #CE4148 #48CE41
tetradic
#4148CE #CE418F #CEC741 #41CE80
square
#4148CE #CE418F #CEC741 #41CE80
split-complementary
#4148CE #CE8041 #8FCE41
monochromatic
#1E2376 #2B31A7 #4148CE #7277DB #A2A6E7

Accessibility & contrast

On white

6.90
#4148CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4148CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4148CE
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4148CE#FFFFFF#000000##FFFFFF
##4148CE1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D2
Deuteranopia (green-blind)
#0054CB
Tritanopia (blue-blind)
#006B84
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4148ce;
/* rgb */ color: rgb(65, 72, 206);
/* oklch */ color: oklch(48.4% 0.203 273.6);
Tailwind
colors: {
  custom: {
    50: '#877bde',
    500: '#4148ce',
    950: '#000000',
  },
}
SCSS
$custom: #4148ce;
$custom-light: #877bde;
$custom-dark: #000000;
JSON
{
  "hex": "#4148ce",
  "rgb": {
    "r": 65,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 237.021,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48386,
    "c": 0.20269,
    "h": 273.6
  },
  "luminance": 0.10215
}

Semantic roles & 50–950 ramp

primary
#4148CE
secondary
#D4D197
accent
#DA46E2
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4148CE

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

Preview Lab → · Contrast checker → · Palette generator →

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