#4134C4#4134C4

#4134C4 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.4% C 0.212 H 277.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#4134C4
RGBrgb(65, 52, 196)
HSLhsl(245, 58%, 49%)
HSVhsv(245, 73%, 77%)
CMYKcmyk(66.8%, 73.5%, 0%, 23.1%)
CIE-LABlab(33.06, 48.57, -72.71)
CIE-LCHlch(33.06, 87.44, 303.74°)
OKLaboklab(44.39% 0.0272 -0.21)
OKLCHoklch(44.39% 0.212 277.4)
XYZxyz(13.3685, 7.5642, 52.9694)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4134C4 #B7C434
analogous
#346FC4 #4134C4 #8934C4
triadic
#4134C4 #C44134 #34C441
tetradic
#4134C4 #C4346F #B7C434 #34C489
square
#4134C4 #C4346F #B7C434 #34C489
split-complementary
#4134C4 #C48934 #6FC434
monochromatic
#211A63 #312794 #4134C4 #6B60D5 #9891E2

Accessibility & contrast

On white

8.36
#4134C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4134C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4134C4
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4134C4#FFFFFF#000000##FFFFFF
##4134C41.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C8
Deuteranopia (green-blind)
#0048C1
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4134c4;
/* rgb */ color: rgb(65, 52, 196);
/* oklch */ color: oklch(44.4% 0.212 277.4);
Tailwind
colors: {
  custom: {
    50: '#876ed7',
    500: '#4134c4',
    950: '#000000',
  },
}
SCSS
$custom: #4134c4;
$custom-light: #876ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#4134c4",
  "rgb": {
    "r": 65,
    "g": 52,
    "b": 196
  },
  "hsl": {
    "h": 245.417,
    "s": 58.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44392,
    "c": 0.21181,
    "h": 277.4
  },
  "luminance": 0.07565
}

Semantic roles & 50–950 ramp

primary
#4134C4
secondary
#C6CC87
accent
#E147D3
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4134C4

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

Preview Lab → · Contrast checker → · Palette generator →

#4134C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva