#4135F6#4135F6

#4135F6 is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 49.7% C 0.268 H 273.4°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#4135F6
RGBrgb(65, 53, 246)
HSLhsl(244, 91%, 59%)
HSVhsv(244, 78%, 96%)
CMYKcmyk(73.6%, 78.5%, 0%, 3.5%)
CIE-LABlab(38.41, 63.26, -92.55)
CIE-LCHlch(38.41, 112.11, 304.35°)
OKLaboklab(49.68% 0.0158 -0.2678)
OKLCHoklch(49.68% 0.268 273.4)
XYZxyz(20.0821, 10.3218, 88.1048)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4135F6 #EAF635
analogous
#3589F6 #4135F6 #A235F6
triadic
#4135F6 #F64135 #35F641
tetradic
#4135F6 #F63589 #EAF635 #35F6A2
square
#4135F6 #F63589 #EAF635 #35F6A2
split-complementary
#4135F6 #F6A235 #89F635
monochromatic
#1208A9 #180AE4 #4135F6 #7870F9 #AFAAFB

Accessibility & contrast

On white

6.85
#4135F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4135F6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4135F6
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4135F6#FFFFFF#000000##FFFFFF
##4135F61.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063FB
Deuteranopia (green-blind)
#0051F3
Tritanopia (blue-blind)
#007196
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4135f6;
/* rgb */ color: rgb(65, 53, 246);
/* oklch */ color: oklch(49.7% 0.268 273.4);
Tailwind
colors: {
  custom: {
    50: '#9171fb',
    500: '#4135f6',
    950: '#000000',
  },
}
SCSS
$custom: #4135f6;
$custom-light: #9171fb;
$custom-dark: #000000;
JSON
{
  "hex": "#4135f6",
  "rgb": {
    "r": 65,
    "g": 53,
    "b": 246
  },
  "hsl": {
    "h": 243.731,
    "s": 91.469,
    "l": 58.627
  },
  "oklch": {
    "l": 0.49682,
    "c": 0.26823,
    "h": 273.4
  },
  "luminance": 0.10324
}

Semantic roles & 50–950 ramp

primary
#4135F6
secondary
#E5EA9D
accent
#FF29F2
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#0F0818
muted
#7F7B86

Preview Lab

Preview with #4135F6

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

Preview Lab → · Contrast checker → · Palette generator →

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