#4148C3#4148C3

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

Color values

HEX#4148C3
RGBrgb(65, 72, 195)
HSLhsl(237, 52%, 51%)
HSVhsv(237, 67%, 76%)
CMYKcmyk(66.7%, 63.1%, 0%, 23.5%)
CIE-LABlab(37.29, 36.49, -65.18)
CIE-LCHlch(37.29, 74.70, 299.24°)
OKLaboklab(47.42% 0.0136 -0.188)
OKLCHoklch(47.42% 0.188 274.1)
XYZxyz(14.3444, 9.6974, 52.7350)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4148C3 #C3BC41
analogous
#4189C3 #4148C3 #7B41C3
triadic
#4148C3 #C34148 #48C341
tetradic
#4148C3 #C34189 #C3BC41 #41C37B
square
#4148C3 #C34189 #C3BC41 #41C37B
split-complementary
#4148C3 #C37B41 #89C341
monochromatic
#212569 #303597 #4148C3 #7075D2 #9EA2E0

Accessibility & contrast

On white

7.14
#4148C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4148C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4148C3
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4148C3#FFFFFF#000000##FFFFFF
##4148C31.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#0052C1
Tritanopia (blue-blind)
#00677F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4148c3;
/* rgb */ color: rgb(65, 72, 195);
/* oklch */ color: oklch(47.4% 0.188 274.1);
Tailwind
colors: {
  custom: {
    50: '#857bd6',
    500: '#4148c3',
    950: '#000000',
  },
}
SCSS
$custom: #4148c3;
$custom-light: #857bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4148c3",
  "rgb": {
    "r": 65,
    "g": 72,
    "b": 195
  },
  "hsl": {
    "h": 236.769,
    "s": 52,
    "l": 50.98
  },
  "oklch": {
    "l": 0.4742,
    "c": 0.18848,
    "h": 274.1
  },
  "luminance": 0.09699
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4148C3

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

Preview Lab → · Contrast checker → · Palette generator →

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