#4147CB#4147CB

#4147CB is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.0% C 0.200 H 274.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4147CB
RGBrgb(65, 71, 203)
HSLhsl(237, 57%, 53%)
HSVhsv(237, 68%, 80%)
CMYKcmyk(68%, 65%, 0%, 20.4%)
CIE-LABlab(37.74, 39.83, -69.11)
CIE-LCHlch(37.74, 79.77, 299.96°)
OKLaboklab(47.95% 0.0138 -0.1995)
OKLCHoklch(47.95% 0.2 274)
XYZxyz(15.2091, 9.9407, 57.6056)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147CB #CBC541
analogous
#418CCB #4147CB #8041CB
triadic
#4147CB #CB4147 #47CB41
tetradic
#4147CB #CB418C #CBC541 #41CB80
square
#4147CB #CB418C #CBC541 #41CB80
split-complementary
#4147CB #CB8041 #8CCB41
monochromatic
#1F2372 #2C32A2 #4147CB #7176D8 #A1A4E5

Accessibility & contrast

On white

7.03
#4147CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4147CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4147CB
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147CB#FFFFFF#000000##FFFFFF
##4147CB1.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)
#005FCF
Deuteranopia (green-blind)
#0053C8
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4147cb;
/* rgb */ color: rgb(65, 71, 203);
/* oklch */ color: oklch(48.0% 0.200 274.0);
Tailwind
colors: {
  custom: {
    50: '#877adc',
    500: '#4147cb',
    950: '#000000',
  },
}
SCSS
$custom: #4147cb;
$custom-light: #877adc;
$custom-dark: #000000;
JSON
{
  "hex": "#4147cb",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 237.391,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.47952,
    "c": 0.20001,
    "h": 274
  },
  "luminance": 0.09942
}

Semantic roles & 50–950 ramp

primary
#4147CB
secondary
#D2CF96
accent
#DA48E0
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4147CB

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

Preview Lab → · Contrast checker → · Palette generator →

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