#4148C4#4148C4

#4148C4 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.5% C 0.190 H 274.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#4148C4
RGBrgb(65, 72, 196)
HSLhsl(237, 53%, 51%)
HSVhsv(237, 67%, 77%)
CMYKcmyk(66.8%, 63.3%, 0%, 23.1%)
CIE-LABlab(37.38, 36.83, -65.63)
CIE-LCHlch(37.38, 75.26, 299.30°)
OKLaboklab(47.51% 0.0136 -0.1893)
OKLCHoklch(47.51% 0.19 274.1)
XYZxyz(14.4578, 9.7428, 53.3325)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4148C4 #C4BD41
analogous
#4189C4 #4148C4 #7B41C4
triadic
#4148C4 #C44148 #48C441
tetradic
#4148C4 #C44189 #C4BD41 #41C47B
square
#4148C4 #C44189 #C4BD41 #41C47B
split-complementary
#4148C4 #C47B41 #89C441
monochromatic
#21256A #2F3598 #4148C4 #7075D3 #9EA2E1

Accessibility & contrast

On white

7.12
#4148C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4148C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4148C4
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4148C4#FFFFFF#000000##FFFFFF
##4148C41.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#0052C2
Tritanopia (blue-blind)
#00687F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4148c4;
/* rgb */ color: rgb(65, 72, 196);
/* oklch */ color: oklch(47.5% 0.190 274.1);
Tailwind
colors: {
  custom: {
    50: '#857bd7',
    500: '#4148c4',
    950: '#000000',
  },
}
SCSS
$custom: #4148c4;
$custom-light: #857bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4148c4",
  "rgb": {
    "r": 65,
    "g": 72,
    "b": 196
  },
  "hsl": {
    "h": 236.794,
    "s": 52.61,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47507,
    "c": 0.1898,
    "h": 274.1
  },
  "luminance": 0.09744
}

Semantic roles & 50–950 ramp

primary
#4148C4
secondary
#CDCA93
accent
#D44CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4148C4

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

Preview Lab → · Contrast checker → · Palette generator →

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