#4135DC#4135DC

#4135DC is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 47.0% C 0.239 H 275.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#4135DC
RGBrgb(65, 53, 220)
HSLhsl(244, 70%, 54%)
HSVhsv(244, 76%, 86%)
CMYKcmyk(70.5%, 75.9%, 0%, 13.7%)
CIE-LABlab(35.67, 55.47, -82.33)
CIE-LCHlch(35.67, 99.27, 303.97°)
OKLaboklab(46.95% 0.0216 -0.238)
OKLCHoklch(46.95% 0.239 275.2)
XYZxyz(16.3671, 8.8358, 68.5392)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4135DC #D0DC35
analogous
#357CDC #4135DC #9435DC
triadic
#4135DC #DC4135 #35DC41
tetradic
#4135DC #DC357C #D0DC35 #35DC94
square
#4135DC #DC357C #D0DC35 #35DC94
split-complementary
#4135DC #DC9435 #7CDC35
monochromatic
#1E1680 #2A1FB5 #4135DC #7269E5 #A39DEE

Accessibility & contrast

On white

7.59
#4135DC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4135DC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4135DC
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4135DC#FFFFFF#000000##FFFFFF
##4135DC1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BE1
Deuteranopia (green-blind)
#004CD9
Tritanopia (blue-blind)
#006787
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4135dc;
/* rgb */ color: rgb(65, 53, 220);
/* oklch */ color: oklch(47.0% 0.239 275.2);
Tailwind
colors: {
  custom: {
    50: '#8c70e8',
    500: '#4135dc',
    950: '#000000',
  },
}
SCSS
$custom: #4135dc;
$custom-light: #8c70e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4135dc",
  "rgb": {
    "r": 65,
    "g": 53,
    "b": 220
  },
  "hsl": {
    "h": 244.311,
    "s": 70.464,
    "l": 53.529
  },
  "oklch": {
    "l": 0.46954,
    "c": 0.23903,
    "h": 275.2
  },
  "luminance": 0.08837
}

Semantic roles & 50–950 ramp

primary
#4135DC
secondary
#D5DA93
accent
#ED3BE0
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4135DC

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

Preview Lab → · Contrast checker → · Palette generator →

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