#4147CD#4147CD

#4147CD is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.1% C 0.203 H 273.9°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#4147CD
RGBrgb(65, 71, 205)
HSLhsl(237, 58%, 53%)
HSVhsv(237, 68%, 80%)
CMYKcmyk(68.3%, 65.4%, 0%, 19.6%)
CIE-LABlab(37.91, 40.51, -69.99)
CIE-LCHlch(37.91, 80.86, 300.06°)
OKLaboklab(48.13% 0.0136 -0.2021)
OKLCHoklch(48.13% 0.203 273.9)
XYZxyz(15.4490, 10.0366, 58.8689)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147CD #CDC741
analogous
#418DCD #4147CD #8141CD
triadic
#4147CD #CD4147 #47CD41
tetradic
#4147CD #CD418D #CDC741 #41CD81
square
#4147CD #CD418D #CDC741 #41CD81
split-complementary
#4147CD #CD8141 #8DCD41
monochromatic
#1F2275 #2C31A5 #4147CD #7176DA #A2A5E6

Accessibility & contrast

On white

6.98
#4147CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4147CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4147CD
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147CD#FFFFFF#000000##FFFFFF
##4147CD1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#0053CA
Tritanopia (blue-blind)
#006A84
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4147cd;
/* rgb */ color: rgb(65, 71, 205);
/* oklch */ color: oklch(48.1% 0.203 273.9);
Tailwind
colors: {
  custom: {
    50: '#877add',
    500: '#4147cd',
    950: '#000000',
  },
}
SCSS
$custom: #4147cd;
$custom-light: #877add;
$custom-dark: #000000;
JSON
{
  "hex": "#4147cd",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 237.429,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48131,
    "c": 0.20256,
    "h": 273.9
  },
  "luminance": 0.10038
}

Semantic roles & 50–950 ramp

primary
#4147CD
secondary
#D3D197
accent
#DB46E2
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4147CD

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

Preview Lab → · Contrast checker → · Palette generator →

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