#4135B4#4135B4

#4135B4 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 43.0% C 0.191 H 278.9°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#4135B4
RGBrgb(65, 53, 180)
HSLhsl(246, 55%, 46%)
HSVhsv(246, 71%, 71%)
CMYKcmyk(63.9%, 70.6%, 0%, 29.4%)
CIE-LABlab(31.73, 42.93, -65.47)
CIE-LCHlch(31.73, 78.29, 303.26°)
OKLaboklab(42.98% 0.0296 -0.1889)
OKLCHoklch(42.98% 0.191 278.9)
XYZxyz(11.6887, 6.9644, 43.8995)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4135B4 #A8B435
analogous
#3569B4 #4135B4 #8035B4
triadic
#4135B4 #B44135 #35B441
tetradic
#4135B4 #B43569 #A8B435 #35B480
square
#4135B4 #B43569 #A8B435 #35B480
split-complementary
#4135B4 #B48035 #69B435
monochromatic
#1F1955 #302785 #4135B4 #6358CE #9088DC

Accessibility & contrast

On white

8.78
#4135B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4135B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4135B4
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4135B4#FFFFFF#000000##FFFFFF
##4135B41.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#0046B2
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4135b4;
/* rgb */ color: rgb(65, 53, 180);
/* oklch */ color: oklch(43.0% 0.191 278.9);
Tailwind
colors: {
  custom: {
    50: '#846ecc',
    500: '#4135b4',
    950: '#000000',
  },
}
SCSS
$custom: #4135b4;
$custom-light: #846ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#4135b4",
  "rgb": {
    "r": 65,
    "g": 53,
    "b": 180
  },
  "hsl": {
    "h": 245.669,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4298,
    "c": 0.19118,
    "h": 278.9
  },
  "luminance": 0.06965
}

Semantic roles & 50–950 ramp

primary
#4135B4
secondary
#BFC67F
accent
#DE4AD0
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4135B4

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

Preview Lab → · Contrast checker → · Palette generator →

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