#4148C9#4148C9

#4148C9 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.9% C 0.196 H 273.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#4148C9
RGBrgb(65, 72, 201)
HSLhsl(237, 56%, 52%)
HSVhsv(237, 68%, 79%)
CMYKcmyk(67.7%, 64.2%, 0%, 21.2%)
CIE-LABlab(37.80, 38.54, -67.85)
CIE-LCHlch(37.80, 78.03, 299.60°)
OKLaboklab(47.94% 0.0132 -0.1958)
OKLCHoklch(47.94% 0.196 273.9)
XYZxyz(15.0364, 9.9742, 56.3798)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4148C9 #C9C241
analogous
#418CC9 #4148C9 #7E41C9
triadic
#4148C9 #C94148 #48C941
tetradic
#4148C9 #C9418C #C9C241 #41C97E
square
#4148C9 #C9418C #C9C241 #41C97E
split-complementary
#4148C9 #C97E41 #8CC941
monochromatic
#202470 #2D339F #4148C9 #7176D7 #A0A4E4

Accessibility & contrast

On white

7.01
#4148C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4148C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4148C9
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4148C9#FFFFFF#000000##FFFFFF
##4148C91.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCD
Deuteranopia (green-blind)
#0053C7
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4148c9;
/* rgb */ color: rgb(65, 72, 201);
/* oklch */ color: oklch(47.9% 0.196 273.9);
Tailwind
colors: {
  custom: {
    50: '#867bda',
    500: '#4148c9',
    950: '#000000',
  },
}
SCSS
$custom: #4148c9;
$custom-light: #867bda;
$custom-dark: #000000;
JSON
{
  "hex": "#4148c9",
  "rgb": {
    "r": 65,
    "g": 72,
    "b": 201
  },
  "hsl": {
    "h": 236.912,
    "s": 55.738,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47944,
    "c": 0.19628,
    "h": 273.9
  },
  "luminance": 0.09976
}

Semantic roles & 50–950 ramp

primary
#4148C9
secondary
#D1CE95
accent
#D749DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #4148C9

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

Preview Lab → · Contrast checker → · Palette generator →

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