#4135BF#4135BF

#4135BF is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.0% C 0.205 H 277.7°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#4135BF
RGBrgb(65, 53, 191)
HSLhsl(245, 57%, 48%)
HSVhsv(245, 72%, 75%)
CMYKcmyk(66%, 72.3%, 0%, 25.1%)
CIE-LABlab(32.77, 46.44, -70.26)
CIE-LCHlch(32.77, 84.22, 303.47°)
OKLaboklab(44.04% 0.0276 -0.2029)
OKLCHoklch(44.04% 0.205 277.7)
XYZxyz(12.8540, 7.4305, 50.0370)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4135BF #B3BF35
analogous
#356EBF #4135BF #8635BF
triadic
#4135BF #BF4135 #35BF41
tetradic
#4135BF #BF356E #B3BF35 #35BF86
square
#4135BF #BF356E #B3BF35 #35BF86
split-complementary
#4135BF #BF8635 #6EBF35
monochromatic
#201A5F #31288F #4135BF #695FD3 #968FE0

Accessibility & contrast

On white

8.45
#4135BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4135BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4135BF
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4135BF#FFFFFF#000000##FFFFFF
##4135BF1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#0047BC
Tritanopia (blue-blind)
#005C77
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4135bf;
/* rgb */ color: rgb(65, 53, 191);
/* oklch */ color: oklch(44.0% 0.205 277.7);
Tailwind
colors: {
  custom: {
    50: '#866ed4',
    500: '#4135bf',
    950: '#000000',
  },
}
SCSS
$custom: #4135bf;
$custom-light: #866ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#4135bf",
  "rgb": {
    "r": 65,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 245.217,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44039,
    "c": 0.20475,
    "h": 277.7
  },
  "luminance": 0.07432
}

Semantic roles & 50–950 ramp

primary
#4135BF
secondary
#C4CA85
accent
#E048D3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0D0714
muted
#7D7A83

Preview Lab

Preview with #4135BF

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

Preview Lab → · Contrast checker → · Palette generator →

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