#4148C8#4148C8

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

Color values

HEX#4148C8
RGBrgb(65, 72, 200)
HSLhsl(237, 55%, 52%)
HSVhsv(237, 68%, 78%)
CMYKcmyk(67.5%, 64%, 0%, 21.6%)
CIE-LABlab(37.71, 38.20, -67.41)
CIE-LCHlch(37.71, 77.48, 299.54°)
OKLaboklab(47.86% 0.0133 -0.1945)
OKLCHoklch(47.86% 0.195 273.9)
XYZxyz(14.9192, 9.9273, 55.7623)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4148C8 #C8C141
analogous
#418CC8 #4148C8 #7E41C8
triadic
#4148C8 #C84148 #48C841
tetradic
#4148C8 #C8418C #C8C141 #41C87E
square
#4148C8 #C8418C #C8C141 #41C87E
split-complementary
#4148C8 #C87E41 #8CC841
monochromatic
#20246F #2E349E #4148C8 #7076D6 #A0A3E3

Accessibility & contrast

On white

7.03
#4148C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4148C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4148C8
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4148C8#FFFFFF#000000##FFFFFF
##4148C81.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0053C6
Tritanopia (blue-blind)
#006981
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4148c8;
/* rgb */ color: rgb(65, 72, 200);
/* oklch */ color: oklch(47.9% 0.195 273.9);
Tailwind
colors: {
  custom: {
    50: '#867bda',
    500: '#4148c8',
    950: '#000000',
  },
}
SCSS
$custom: #4148c8;
$custom-light: #867bda;
$custom-dark: #000000;
JSON
{
  "hex": "#4148c8",
  "rgb": {
    "r": 65,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 236.889,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47856,
    "c": 0.19498,
    "h": 273.9
  },
  "luminance": 0.09929
}

Semantic roles & 50–950 ramp

primary
#4148C8
secondary
#D0CD95
accent
#D749DE
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #4148C8

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

Preview Lab → · Contrast checker → · Palette generator →

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