#4135AA#4135AA

#4135AA is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.0% C 0.179 H 280.1°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#4135AA
RGBrgb(65, 53, 170)
HSLhsl(246, 52%, 44%)
HSVhsv(246, 69%, 67%)
CMYKcmyk(61.8%, 68.8%, 0%, 33.3%)
CIE-LABlab(30.81, 39.70, -61.00)
CIE-LCHlch(30.81, 72.78, 303.06°)
OKLaboklab(42.04% 0.0312 -0.1758)
OKLCHoklch(42.04% 0.179 280.1)
XYZxyz(10.7065, 6.5715, 38.7267)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4135AA #9EAA35
analogous
#3563AA #4135AA #7B35AA
triadic
#4135AA #AA4135 #35AA41
tetradic
#4135AA #AA3563 #9EAA35 #35AA7B
square
#4135AA #AA3563 #9EAA35 #35AA7B
split-complementary
#4135AA #AA7B35 #63AA35
monochromatic
#1D184D #2F267B #4135AA #5F53C9 #8A82D8

Accessibility & contrast

On white

9.07
#4135AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4135AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4135AA#FFFFFF#000000##FFFFFF
##4135AA1.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0044A8
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4135aa;
/* rgb */ color: rgb(65, 53, 170);
/* oklch */ color: oklch(42.0% 0.179 280.1);
Tailwind
colors: {
  custom: {
    50: '#826dc4',
    500: '#4135aa',
    950: '#000000',
  },
}
SCSS
$custom: #4135aa;
$custom-light: #826dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4135aa",
  "rgb": {
    "r": 65,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 246.154,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42044,
    "c": 0.17853,
    "h": 280.1
  },
  "luminance": 0.06572
}

Semantic roles & 50–950 ramp

primary
#4135AA
secondary
#BAC17A
accent
#DC4CCD
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4135AA

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

Preview Lab → · Contrast checker → · Palette generator →

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