#4148C0#4148C0

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

Color values

HEX#4148C0
RGBrgb(65, 72, 192)
HSLhsl(237, 50%, 50%)
HSVhsv(237, 66%, 75%)
CMYKcmyk(66.1%, 62.5%, 0%, 24.7%)
CIE-LABlab(37.05, 35.46, -63.83)
CIE-LCHlch(37.05, 73.02, 299.06°)
OKLaboklab(47.16% 0.0138 -0.184)
OKLCHoklch(47.16% 0.185 274.3)
XYZxyz(14.0086, 9.5631, 50.9666)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4148C0 #C0B941
analogous
#4187C0 #4148C0 #7941C0
triadic
#4148C0 #C04148 #48C041
tetradic
#4148C0 #C04187 #C0B941 #41C079
square
#4148C0 #C04187 #C0B941 #41C079
split-complementary
#4148C0 #C07941 #87C041
monochromatic
#222565 #313693 #4148C0 #6F74CF #9DA1DE

Accessibility & contrast

On white

7.21
#4148C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4148C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4148C0
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4148C0#FFFFFF#000000##FFFFFF
##4148C01.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC4
Deuteranopia (green-blind)
#0052BE
Tritanopia (blue-blind)
#00667D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4148c0;
/* rgb */ color: rgb(65, 72, 192);
/* oklch */ color: oklch(47.2% 0.185 274.3);
Tailwind
colors: {
  custom: {
    50: '#857bd4',
    500: '#4148c0',
    950: '#000000',
  },
}
SCSS
$custom: #4148c0;
$custom-light: #857bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4148c0",
  "rgb": {
    "r": 65,
    "g": 72,
    "b": 192
  },
  "hsl": {
    "h": 236.693,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47162,
    "c": 0.18455,
    "h": 274.3
  },
  "luminance": 0.09564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4148C0

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

Preview Lab → · Contrast checker → · Palette generator →

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