#4135C9#4135C9

#4135C9 is a mid, highly saturated blue. Relative luminance 0.079; OKLCH L 45.0% C 0.217 H 276.8°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#4135C9
RGBrgb(65, 53, 201)
HSLhsl(245, 58%, 50%)
HSVhsv(245, 74%, 79%)
CMYKcmyk(67.7%, 73.6%, 0%, 21.2%)
CIE-LABlab(33.74, 49.60, -74.51)
CIE-LCHlch(33.74, 89.50, 303.65°)
OKLaboklab(45.03% 0.0256 -0.2153)
OKLCHoklch(45.03% 0.217 276.8)
XYZxyz(13.9923, 7.8858, 56.0318)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4135C9 #BDC935
analogous
#3573C9 #4135C9 #8B35C9
triadic
#4135C9 #C94135 #35C941
tetradic
#4135C9 #C93573 #BDC935 #35C98B
square
#4135C9 #C93573 #BDC935 #35C98B
split-complementary
#4135C9 #C98B35 #73C935
monochromatic
#221B68 #312899 #4135C9 #6E65D6 #9C95E3

Accessibility & contrast

On white

8.15
#4135C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4135C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4135C9
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4135C9#FFFFFF#000000##FFFFFF
##4135C91.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CD
Deuteranopia (green-blind)
#0049C6
Tritanopia (blue-blind)
#005F7C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4135c9;
/* rgb */ color: rgb(65, 53, 201);
/* oklch */ color: oklch(45.0% 0.217 276.8);
Tailwind
colors: {
  custom: {
    50: '#886fdb',
    500: '#4135c9',
    950: '#000000',
  },
}
SCSS
$custom: #4135c9;
$custom-light: #886fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4135c9",
  "rgb": {
    "r": 65,
    "g": 53,
    "b": 201
  },
  "hsl": {
    "h": 244.865,
    "s": 58.268,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45026,
    "c": 0.2168,
    "h": 276.8
  },
  "luminance": 0.07887
}

Semantic roles & 50–950 ramp

primary
#4135C9
secondary
#C9CE8B
accent
#E146D5
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4135C9

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

Preview Lab → · Contrast checker → · Palette generator →

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