#4135CF#4135CF

#4135CF is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.6% C 0.224 H 276.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#4135CF
RGBrgb(65, 53, 207)
HSLhsl(245, 62%, 51%)
HSVhsv(245, 74%, 81%)
CMYKcmyk(68.6%, 74.4%, 0%, 18.8%)
CIE-LABlab(34.34, 51.47, -77.01)
CIE-LCHlch(34.34, 92.63, 303.76°)
OKLaboklab(45.63% 0.0244 -0.2226)
OKLCHoklch(45.63% 0.224 276.3)
XYZxyz(14.7119, 8.1737, 59.8218)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4135CF #C3CF35
analogous
#3576CF #4135CF #8E35CF
triadic
#4135CF #CF4135 #35CF41
tetradic
#4135CF #CF3576 #C3CF35 #35CF8E
square
#4135CF #CF3576 #C3CF35 #35CF8E
split-complementary
#4135CF #CF8E35 #76CF35
monochromatic
#211A6F #3026A1 #4135CF #7066DB #9E98E7

Accessibility & contrast

On white

7.97
#4135CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4135CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4135CF
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4135CF#FFFFFF#000000##FFFFFF
##4135CF1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D3
Deuteranopia (green-blind)
#004ACC
Tritanopia (blue-blind)
#006280
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4135cf;
/* rgb */ color: rgb(65, 53, 207);
/* oklch */ color: oklch(45.6% 0.224 276.3);
Tailwind
colors: {
  custom: {
    50: '#896fdf',
    500: '#4135cf',
    950: '#000000',
  },
}
SCSS
$custom: #4135cf;
$custom-light: #896fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#4135cf",
  "rgb": {
    "r": 65,
    "g": 53,
    "b": 207
  },
  "hsl": {
    "h": 244.675,
    "s": 61.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.45627,
    "c": 0.22391,
    "h": 276.3
  },
  "luminance": 0.08175
}

Semantic roles & 50–950 ramp

primary
#4135CF
secondary
#CDD28E
accent
#E543D8
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4135CF

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

Preview Lab → · Contrast checker → · Palette generator →

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