#4135B8#4135B8

#4135B8 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.4% C 0.196 H 278.5°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#4135B8
RGBrgb(65, 53, 184)
HSLhsl(245, 55%, 46%)
HSVhsv(245, 71%, 72%)
CMYKcmyk(64.7%, 71.2%, 0%, 27.8%)
CIE-LABlab(32.10, 44.21, -67.22)
CIE-LCHlch(32.10, 80.46, 303.33°)
OKLaboklab(43.36% 0.0289 -0.194)
OKLCHoklch(43.36% 0.196 278.5)
XYZxyz(12.1020, 7.1297, 46.0765)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4135B8 #ACB835
analogous
#356BB8 #4135B8 #8335B8
triadic
#4135B8 #B84135 #35B841
tetradic
#4135B8 #B8356B #ACB835 #35B883
square
#4135B8 #B8356B #ACB835 #35B883
split-complementary
#4135B8 #B88335 #6BB835
monochromatic
#1F1A59 #302788 #4135B8 #655BD0 #928ADD

Accessibility & contrast

On white

8.66
#4135B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4135B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4135B8
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4135B8#FFFFFF#000000##FFFFFF
##4135B81.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BC
Deuteranopia (green-blind)
#0046B6
Tritanopia (blue-blind)
#005973
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4135b8;
/* rgb */ color: rgb(65, 53, 184);
/* oklch */ color: oklch(43.4% 0.196 278.5);
Tailwind
colors: {
  custom: {
    50: '#856ece',
    500: '#4135b8',
    950: '#000000',
  },
}
SCSS
$custom: #4135b8;
$custom-light: #856ece;
$custom-dark: #000000;
JSON
{
  "hex": "#4135b8",
  "rgb": {
    "r": 65,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 245.496,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43362,
    "c": 0.19616,
    "h": 278.5
  },
  "luminance": 0.07131
}

Semantic roles & 50–950 ramp

primary
#4135B8
secondary
#C1C781
accent
#DF49D1
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4135B8

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

Preview Lab → · Contrast checker → · Palette generator →

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