#4135C2#4135C2

#4135C2 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.3% C 0.208 H 277.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#4135C2
RGBrgb(65, 53, 194)
HSLhsl(245, 57%, 48%)
HSVhsv(245, 73%, 76%)
CMYKcmyk(66.5%, 72.7%, 0%, 23.9%)
CIE-LABlab(33.06, 47.39, -71.54)
CIE-LCHlch(33.06, 85.82, 303.52°)
OKLaboklab(44.33% 0.027 -0.2066)
OKLCHoklch(44.33% 0.208 277.4)
XYZxyz(13.1875, 7.5639, 51.7935)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4135C2 #B6C235
analogous
#3570C2 #4135C2 #8735C2
triadic
#4135C2 #C24135 #35C241
tetradic
#4135C2 #C23570 #B6C235 #35C287
square
#4135C2 #C23570 #B6C235 #35C287
split-complementary
#4135C2 #C28735 #70C235
monochromatic
#211B62 #312892 #4135C2 #6A60D4 #9791E1

Accessibility & contrast

On white

8.36
#4135C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4135C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4135C2
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4135C2#FFFFFF#000000##FFFFFF
##4135C21.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C6
Deuteranopia (green-blind)
#0048BF
Tritanopia (blue-blind)
#005D78
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4135c2;
/* rgb */ color: rgb(65, 53, 194);
/* oklch */ color: oklch(44.3% 0.208 277.4);
Tailwind
colors: {
  custom: {
    50: '#876ed6',
    500: '#4135c2',
    950: '#000000',
  },
}
SCSS
$custom: #4135c2;
$custom-light: #876ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#4135c2",
  "rgb": {
    "r": 65,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 245.106,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44333,
    "c": 0.20839,
    "h": 277.4
  },
  "luminance": 0.07565
}

Semantic roles & 50–950 ramp

primary
#4135C2
secondary
#C6CC87
accent
#E047D3
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4135C2

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

Preview Lab → · Contrast checker → · Palette generator →

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