#4147CF#4147CF

#4147CF is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.3% C 0.205 H 273.8°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#4147CF
RGBrgb(65, 71, 207)
HSLhsl(237, 60%, 53%)
HSVhsv(237, 69%, 81%)
CMYKcmyk(68.6%, 65.7%, 0%, 18.8%)
CIE-LABlab(38.08, 41.18, -70.86)
CIE-LCHlch(38.08, 81.96, 300.17°)
OKLaboklab(48.31% 0.0134 -0.2046)
OKLCHoklch(48.31% 0.205 273.8)
XYZxyz(15.6919, 10.1338, 60.1484)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147CF #CFC941
analogous
#418ECF #4147CF #8241CF
triadic
#4147CF #CF4147 #47CF41
tetradic
#4147CF #CF418E #CFC941 #41CF82
square
#4147CF #CF418E #CFC941 #41CF82
split-complementary
#4147CF #CF8241 #8ECF41
monochromatic
#1E2277 #2B30A8 #4147CF #7276DB #A3A6E8

Accessibility & contrast

On white

6.94
#4147CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4147CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4147CF
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147CF#FFFFFF#000000##FFFFFF
##4147CF1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D3
Deuteranopia (green-blind)
#0053CC
Tritanopia (blue-blind)
#006B85
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4147cf;
/* rgb */ color: rgb(65, 71, 207);
/* oklch */ color: oklch(48.3% 0.205 273.8);
Tailwind
colors: {
  custom: {
    50: '#887bdf',
    500: '#4147cf',
    950: '#000000',
  },
}
SCSS
$custom: #4147cf;
$custom-light: #887bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#4147cf",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 237.465,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.4831,
    "c": 0.20509,
    "h": 273.8
  },
  "luminance": 0.10135
}

Semantic roles & 50–950 ramp

primary
#4147CF
secondary
#D4D297
accent
#DC45E3
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4147CF

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

Preview Lab → · Contrast checker → · Palette generator →

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