#4135C4#4135C4

#4135C4 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.5% C 0.211 H 277.3°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#4135C4
RGBrgb(65, 53, 196)
HSLhsl(245, 57%, 49%)
HSVhsv(245, 73%, 77%)
CMYKcmyk(66.8%, 73%, 0%, 23.1%)
CIE-LABlab(33.25, 48.02, -72.39)
CIE-LCHlch(33.25, 86.87, 303.56°)
OKLaboklab(44.53% 0.0266 -0.2091)
OKLCHoklch(44.53% 0.211 277.3)
XYZxyz(13.4136, 7.6544, 52.9844)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4135C4 #B8C435
analogous
#3571C4 #4135C4 #8935C4
triadic
#4135C4 #C44135 #35C441
tetradic
#4135C4 #C43571 #B8C435 #35C489
square
#4135C4 #C43571 #B8C435 #35C489
split-complementary
#4135C4 #C48935 #71C435
monochromatic
#211B64 #312894 #4135C4 #6B62D4 #9992E1

Accessibility & contrast

On white

8.30
#4135C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4135C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4135C4
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4135C4#FFFFFF#000000##FFFFFF
##4135C41.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C8
Deuteranopia (green-blind)
#0048C1
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4135c4;
/* rgb */ color: rgb(65, 53, 196);
/* oklch */ color: oklch(44.5% 0.211 277.3);
Tailwind
colors: {
  custom: {
    50: '#876ed7',
    500: '#4135c4',
    950: '#000000',
  },
}
SCSS
$custom: #4135c4;
$custom-light: #876ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#4135c4",
  "rgb": {
    "r": 65,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 245.035,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4453,
    "c": 0.21081,
    "h": 277.3
  },
  "luminance": 0.07656
}

Semantic roles & 50–950 ramp

primary
#4135C4
secondary
#C7CC88
accent
#E147D4
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4135C4

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

Preview Lab → · Contrast checker → · Palette generator →

#4135C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva