#4135D3#4135D3

#4135D3 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 46.0% C 0.229 H 275.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#4135D3
RGBrgb(65, 53, 211)
HSLhsl(245, 64%, 52%)
HSVhsv(245, 75%, 83%)
CMYKcmyk(69.2%, 74.9%, 0%, 17.3%)
CIE-LABlab(34.75, 52.71, -78.66)
CIE-LCHlch(34.75, 94.69, 303.83°)
OKLaboklab(46.03% 0.0235 -0.2274)
OKLCHoklch(46.03% 0.229 275.9)
XYZxyz(15.2071, 8.3718, 62.4299)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4135D3 #C7D335
analogous
#3578D3 #4135D3 #9035D3
triadic
#4135D3 #D34135 #35D341
tetradic
#4135D3 #D33578 #C7D335 #35D390
square
#4135D3 #D33578 #C7D335 #35D390
split-complementary
#4135D3 #D39035 #78D335
monochromatic
#201974 #2E24A7 #4135D3 #7067DE #A09AE9

Accessibility & contrast

On white

7.85
#4135D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4135D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4135D3
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4135D3#FFFFFF#000000##FFFFFF
##4135D31.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D8
Deuteranopia (green-blind)
#004BD0
Tritanopia (blue-blind)
#006382
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4135d3;
/* rgb */ color: rgb(65, 53, 211);
/* oklch */ color: oklch(46.0% 0.229 275.9);
Tailwind
colors: {
  custom: {
    50: '#8a6fe2',
    500: '#4135d3',
    950: '#000000',
  },
}
SCSS
$custom: #4135d3;
$custom-light: #8a6fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#4135d3",
  "rgb": {
    "r": 65,
    "g": 53,
    "b": 211
  },
  "hsl": {
    "h": 244.557,
    "s": 64.228,
    "l": 51.765
  },
  "oklch": {
    "l": 0.46032,
    "c": 0.22861,
    "h": 275.9
  },
  "luminance": 0.08373
}

Semantic roles & 50–950 ramp

primary
#4135D3
secondary
#CFD58F
accent
#E741DB
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #4135D3

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

Preview Lab → · Contrast checker → · Palette generator →

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