#4135B2#4135B2

#4135B2 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.8% C 0.189 H 279.1°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#4135B2
RGBrgb(65, 53, 178)
HSLhsl(246, 54%, 45%)
HSVhsv(246, 70%, 70%)
CMYKcmyk(63.5%, 70.2%, 0%, 30.2%)
CIE-LABlab(31.54, 42.29, -64.58)
CIE-LCHlch(31.54, 77.19, 303.22°)
OKLaboklab(42.79% 0.0299 -0.1863)
OKLCHoklch(42.79% 0.189 279.1)
XYZxyz(11.4864, 6.8835, 42.8342)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4135B2 #A6B235
analogous
#3567B2 #4135B2 #7F35B2
triadic
#4135B2 #B24135 #35B241
tetradic
#4135B2 #B23567 #A6B235 #35B27F
square
#4135B2 #B23567 #A6B235 #35B27F
split-complementary
#4135B2 #B27F35 #67B235
monochromatic
#1F1954 #302783 #4135B2 #6257CD #8E86DB

Accessibility & contrast

On white

8.84
#4135B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4135B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4135B2#FFFFFF#000000##FFFFFF
##4135B21.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#0045B0
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4135b2;
/* rgb */ color: rgb(65, 53, 178);
/* oklch */ color: oklch(42.8% 0.189 279.1);
Tailwind
colors: {
  custom: {
    50: '#836eca',
    500: '#4135b2',
    950: '#000000',
  },
}
SCSS
$custom: #4135b2;
$custom-light: #836eca;
$custom-dark: #000000;
JSON
{
  "hex": "#4135b2",
  "rgb": {
    "r": 65,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 245.76,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4279,
    "c": 0.18868,
    "h": 279.1
  },
  "luminance": 0.06884
}

Semantic roles & 50–950 ramp

primary
#4135B2
secondary
#BEC57E
accent
#DD4ACF
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4135B2

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

Preview Lab → · Contrast checker → · Palette generator →

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