#4135CA#4135CA

#4135CA is a mid, highly saturated blue. Relative luminance 0.079; OKLCH L 45.1% C 0.218 H 276.7°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#4135CA
RGBrgb(65, 53, 202)
HSLhsl(245, 58%, 50%)
HSVhsv(245, 74%, 79%)
CMYKcmyk(67.8%, 73.8%, 0%, 20.8%)
CIE-LABlab(33.84, 49.91, -74.93)
CIE-LCHlch(33.84, 90.03, 303.67°)
OKLaboklab(45.13% 0.0254 -0.2165)
OKLCHoklch(45.13% 0.218 276.7)
XYZxyz(14.1103, 7.9330, 56.6533)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4135CA #BECA35
analogous
#3574CA #4135CA #8B35CA
triadic
#4135CA #CA4135 #35CA41
tetradic
#4135CA #CA3574 #BECA35 #35CA8B
square
#4135CA #CA3574 #BECA35 #35CA8B
split-complementary
#4135CA #CA8B35 #74CA35
monochromatic
#221C69 #31289A #4135CA #6F65D7 #9C96E3

Accessibility & contrast

On white

8.12
#4135CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4135CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4135CA
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4135CA#FFFFFF#000000##FFFFFF
##4135CA1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CE
Deuteranopia (green-blind)
#0049C7
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4135ca;
/* rgb */ color: rgb(65, 53, 202);
/* oklch */ color: oklch(45.1% 0.218 276.7);
Tailwind
colors: {
  custom: {
    50: '#886fdb',
    500: '#4135ca',
    950: '#000000',
  },
}
SCSS
$custom: #4135ca;
$custom-light: #886fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4135ca",
  "rgb": {
    "r": 65,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 244.832,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.45126,
    "c": 0.218,
    "h": 276.7
  },
  "luminance": 0.07934
}

Semantic roles & 50–950 ramp

primary
#4135CA
secondary
#C9CF8C
accent
#E246D5
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4135CA

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

Preview Lab → · Contrast checker → · Palette generator →

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