#4148C1#4148C1

#4148C1 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.2% C 0.186 H 274.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#4148C1
RGBrgb(65, 72, 193)
HSLhsl(237, 51%, 51%)
HSVhsv(237, 66%, 76%)
CMYKcmyk(66.3%, 62.7%, 0%, 24.3%)
CIE-LABlab(37.13, 35.81, -64.28)
CIE-LCHlch(37.13, 73.58, 299.12°)
OKLaboklab(47.25% 0.0137 -0.1854)
OKLCHoklch(47.25% 0.186 274.2)
XYZxyz(14.1198, 9.6075, 51.5521)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4148C1 #C1BA41
analogous
#4188C1 #4148C1 #7A41C1
triadic
#4148C1 #C14148 #48C141
tetradic
#4148C1 #C14188 #C1BA41 #41C17A
square
#4148C1 #C14188 #C1BA41 #41C17A
split-complementary
#4148C1 #C17A41 #88C141
monochromatic
#212566 #303694 #4148C1 #6F74D0 #9DA1DF

Accessibility & contrast

On white

7.19
#4148C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4148C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4148C1
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4148C1#FFFFFF#000000##FFFFFF
##4148C11.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC5
Deuteranopia (green-blind)
#0052BF
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4148c1;
/* rgb */ color: rgb(65, 72, 193);
/* oklch */ color: oklch(47.2% 0.186 274.2);
Tailwind
colors: {
  custom: {
    50: '#857bd5',
    500: '#4148c1',
    950: '#000000',
  },
}
SCSS
$custom: #4148c1;
$custom-light: #857bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4148c1",
  "rgb": {
    "r": 65,
    "g": 72,
    "b": 193
  },
  "hsl": {
    "h": 236.719,
    "s": 50.794,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47248,
    "c": 0.18587,
    "h": 274.2
  },
  "luminance": 0.09609
}

Semantic roles & 50–950 ramp

primary
#4148C1
secondary
#CBC892
accent
#D34EDA
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4148C1

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

Preview Lab → · Contrast checker → · Palette generator →

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