#4135AC#4135AC

#4135AC is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.2% C 0.181 H 279.8°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#4135AC
RGBrgb(65, 53, 172)
HSLhsl(246, 53%, 44%)
HSVhsv(246, 69%, 67%)
CMYKcmyk(62.2%, 69.2%, 0%, 32.5%)
CIE-LABlab(30.99, 40.35, -61.90)
CIE-LCHlch(30.99, 73.89, 303.10°)
OKLaboklab(42.23% 0.0309 -0.1784)
OKLCHoklch(42.23% 0.181 279.8)
XYZxyz(10.8971, 6.6478, 39.7306)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4135AC #A0AC35
analogous
#3565AC #4135AC #7D35AC
triadic
#4135AC #AC4135 #35AC41
tetradic
#4135AC #AC3565 #A0AC35 #35AC7D
square
#4135AC #AC3565 #A0AC35 #35AC7D
split-complementary
#4135AC #AC7D35 #65AC35
monochromatic
#1E184E #2F277D #4135AC #6054CA #8B83D9

Accessibility & contrast

On white

9.01
#4135AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4135AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4135AC#FFFFFF#000000##FFFFFF
##4135AC1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#0044AA
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4135ac;
/* rgb */ color: rgb(65, 53, 172);
/* oklch */ color: oklch(42.2% 0.181 279.8);
Tailwind
colors: {
  custom: {
    50: '#826ec6',
    500: '#4135ac',
    950: '#000000',
  },
}
SCSS
$custom: #4135ac;
$custom-light: #826ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#4135ac",
  "rgb": {
    "r": 65,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 246.05,
    "s": 52.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42229,
    "c": 0.18109,
    "h": 279.8
  },
  "luminance": 0.06649
}

Semantic roles & 50–950 ramp

primary
#4135AC
secondary
#BBC27B
accent
#DC4CCE
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4135AC

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

Preview Lab → · Contrast checker → · Palette generator →

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