#4147CA#4147CA

#4147CA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.9% C 0.199 H 274.0°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#4147CA
RGBrgb(65, 71, 202)
HSLhsl(237, 56%, 52%)
HSVhsv(237, 68%, 79%)
CMYKcmyk(67.8%, 64.9%, 0%, 20.8%)
CIE-LABlab(37.65, 39.49, -68.67)
CIE-LCHlch(37.65, 79.22, 299.90°)
OKLaboklab(47.86% 0.0139 -0.1982)
OKLCHoklch(47.86% 0.199 274)
XYZxyz(15.0903, 9.8932, 56.9800)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147CA #CAC441
analogous
#418CCA #4147CA #7F41CA
triadic
#4147CA #CA4147 #47CA41
tetradic
#4147CA #CA418C #CAC441 #41CA7F
square
#4147CA #CA418C #CAC441 #41CA7F
split-complementary
#4147CA #CA7F41 #8CCA41
monochromatic
#202371 #2D32A1 #4147CA #7175D7 #A1A4E5

Accessibility & contrast

On white

7.05
#4147CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4147CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4147CA
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147CA#FFFFFF#000000##FFFFFF
##4147CA1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4147ca;
/* rgb */ color: rgb(65, 71, 202);
/* oklch */ color: oklch(47.9% 0.199 274.0);
Tailwind
colors: {
  custom: {
    50: '#877adb',
    500: '#4147ca',
    950: '#000000',
  },
}
SCSS
$custom: #4147ca;
$custom-light: #877adb;
$custom-dark: #000000;
JSON
{
  "hex": "#4147ca",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 237.372,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47863,
    "c": 0.19872,
    "h": 274
  },
  "luminance": 0.09895
}

Semantic roles & 50–950 ramp

primary
#4147CA
secondary
#D1CF96
accent
#D948E0
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4147CA

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

Preview Lab → · Contrast checker → · Palette generator →

#4147CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva