#4135BD#4135BD

#4135BD is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.8% C 0.202 H 277.9°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#4135BD
RGBrgb(65, 53, 189)
HSLhsl(245, 56%, 47%)
HSVhsv(245, 72%, 74%)
CMYKcmyk(65.6%, 72%, 0%, 25.9%)
CIE-LABlab(32.58, 45.81, -69.39)
CIE-LCHlch(32.58, 83.15, 303.43°)
OKLaboklab(43.84% 0.028 -0.2004)
OKLCHoklch(43.84% 0.202 277.9)
XYZxyz(12.6354, 7.3431, 48.8857)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4135BD #B1BD35
analogous
#356DBD #4135BD #8535BD
triadic
#4135BD #BD4135 #35BD41
tetradic
#4135BD #BD356D #B1BD35 #35BD85
square
#4135BD #BD356D #B1BD35 #35BD85
split-complementary
#4135BD #BD8535 #6DBD35
monochromatic
#201A5D #31288D #4135BD #685DD2 #958DDF

Accessibility & contrast

On white

8.51
#4135BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4135BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4135BD
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4135BD#FFFFFF#000000##FFFFFF
##4135BD1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0047BA
Tritanopia (blue-blind)
#005B75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4135bd;
/* rgb */ color: rgb(65, 53, 189);
/* oklch */ color: oklch(43.8% 0.202 277.9);
Tailwind
colors: {
  custom: {
    50: '#866ed2',
    500: '#4135bd',
    950: '#000000',
  },
}
SCSS
$custom: #4135bd;
$custom-light: #866ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#4135bd",
  "rgb": {
    "r": 65,
    "g": 53,
    "b": 189
  },
  "hsl": {
    "h": 245.294,
    "s": 56.198,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43844,
    "c": 0.20231,
    "h": 277.9
  },
  "luminance": 0.07344
}

Semantic roles & 50–950 ramp

primary
#4135BD
secondary
#C3CA84
accent
#DF48D2
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0D0714
muted
#7D7A83

Preview Lab

Preview with #4135BD

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

Preview Lab → · Contrast checker → · Palette generator →

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