#4135CD#4135CD

#4135CD is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.4% C 0.222 H 276.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#4135CD
RGBrgb(65, 53, 205)
HSLhsl(245, 60%, 51%)
HSVhsv(245, 74%, 80%)
CMYKcmyk(68.3%, 74.1%, 0%, 19.6%)
CIE-LABlab(34.14, 50.85, -76.18)
CIE-LCHlch(34.14, 91.59, 303.72°)
OKLaboklab(45.43% 0.0248 -0.2202)
OKLCHoklch(45.43% 0.222 276.4)
XYZxyz(14.4689, 8.0765, 58.5422)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4135CD #C1CD35
analogous
#3575CD #4135CD #8D35CD
triadic
#4135CD #CD4135 #35CD41
tetradic
#4135CD #CD3575 #C1CD35 #35CD8D
square
#4135CD #CD3575 #C1CD35 #35CD8D
split-complementary
#4135CD #CD8D35 #75CD35
monochromatic
#211B6D #30279E #4135CD #6F66D9 #9D97E5

Accessibility & contrast

On white

8.03
#4135CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4135CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4135CD
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4135CD#FFFFFF#000000##FFFFFF
##4135CD1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D1
Deuteranopia (green-blind)
#004ACA
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4135cd;
/* rgb */ color: rgb(65, 53, 205);
/* oklch */ color: oklch(45.4% 0.222 276.4);
Tailwind
colors: {
  custom: {
    50: '#896fde',
    500: '#4135cd',
    950: '#000000',
  },
}
SCSS
$custom: #4135cd;
$custom-light: #896fde;
$custom-dark: #000000;
JSON
{
  "hex": "#4135cd",
  "rgb": {
    "r": 65,
    "g": 53,
    "b": 205
  },
  "hsl": {
    "h": 244.737,
    "s": 60.317,
    "l": 50.588
  },
  "oklch": {
    "l": 0.45426,
    "c": 0.22155,
    "h": 276.4
  },
  "luminance": 0.08078
}

Semantic roles & 50–950 ramp

primary
#4135CD
secondary
#CBD18D
accent
#E344D7
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4135CD

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

Preview Lab → · Contrast checker → · Palette generator →

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