#4135CC#4135CC

#4135CC is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.3% C 0.220 H 276.5°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#4135CC
RGBrgb(65, 53, 204)
HSLhsl(245, 60%, 50%)
HSVhsv(245, 74%, 80%)
CMYKcmyk(68.1%, 74%, 0%, 20%)
CIE-LABlab(34.04, 50.53, -75.76)
CIE-LCHlch(34.04, 91.07, 303.70°)
OKLaboklab(45.33% 0.025 -0.2189)
OKLCHoklch(45.33% 0.22 276.5)
XYZxyz(14.3486, 8.0284, 57.9085)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4135CC #C0CC35
analogous
#3575CC #4135CC #8C35CC
triadic
#4135CC #CC4135 #35CC41
tetradic
#4135CC #CC3575 #C0CC35 #35CC8C
square
#4135CC #CC3575 #C0CC35 #35CC8C
split-complementary
#4135CC #CC8C35 #75CC35
monochromatic
#221B6B #31279C #4135CC #6F66D8 #9D97E5

Accessibility & contrast

On white

8.06
#4135CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4135CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4135CC
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4135CC#FFFFFF#000000##FFFFFF
##4135CC1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D0
Deuteranopia (green-blind)
#0049C9
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4135cc;
/* rgb */ color: rgb(65, 53, 204);
/* oklch */ color: oklch(45.3% 0.220 276.5);
Tailwind
colors: {
  custom: {
    50: '#896fdd',
    500: '#4135cc',
    950: '#000000',
  },
}
SCSS
$custom: #4135cc;
$custom-light: #896fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4135cc",
  "rgb": {
    "r": 65,
    "g": 53,
    "b": 204
  },
  "hsl": {
    "h": 244.768,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45326,
    "c": 0.22036,
    "h": 276.5
  },
  "luminance": 0.0803
}

Semantic roles & 50–950 ramp

primary
#4135CC
secondary
#CBD08D
accent
#E345D6
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4135CC

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

Preview Lab → · Contrast checker → · Palette generator →

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