#4127C7#4127C7

#4127C7 is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 43.1% C 0.227 H 278.4°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#4127C7
RGBrgb(65, 39, 199)
HSLhsl(250, 67%, 47%)
HSVhsv(250, 80%, 78%)
CMYKcmyk(67.3%, 80.4%, 0%, 22%)
CIE-LABlab(31.11, 55.95, -77.69)
CIE-LCHlch(31.11, 95.74, 305.76°)
OKLaboklab(43.12% 0.0332 -0.2244)
OKLCHoklch(43.12% 0.227 278.4)
XYZxyz(13.2110, 6.6972, 54.6183)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4127C7 #ADC727
analogous
#275DC7 #4127C7 #9127C7
triadic
#4127C7 #C74127 #27C741
tetradic
#4127C7 #C7275D #ADC727 #27C791
square
#4127C7 #C7275D #ADC727 #27C791
split-complementary
#4127C7 #C79127 #5DC727
monochromatic
#201361 #301D94 #4127C7 #664FDC #9282E6

Accessibility & contrast

On white

8.98
#4127C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4127C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4127C7
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4127C7#FFFFFF#000000##FFFFFF
##4127C71.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FCB
Deuteranopia (green-blind)
#0043C4
Tritanopia (blue-blind)
#005978
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4127c7;
/* rgb */ color: rgb(65, 39, 199);
/* oklch */ color: oklch(43.1% 0.227 278.4);
Tailwind
colors: {
  custom: {
    50: '#8967d9',
    500: '#4127c7',
    950: '#000000',
  },
}
SCSS
$custom: #4127c7;
$custom-light: #8967d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4127c7",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 199
  },
  "hsl": {
    "h": 249.75,
    "s": 67.227,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43117,
    "c": 0.22685,
    "h": 278.4
  },
  "luminance": 0.06698
}

Semantic roles & 50–950 ramp

primary
#4127C7
secondary
#C2CF7B
accent
#EA3ECE
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #4127C7

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

Preview Lab → · Contrast checker → · Palette generator →

#4127C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva