#4134D2#4134D2

#4134D2 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.8% C 0.228 H 276.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#4134D2
RGBrgb(65, 52, 210)
HSLhsl(245, 64%, 51%)
HSVhsv(245, 75%, 82%)
CMYKcmyk(69%, 75.2%, 0%, 17.6%)
CIE-LABlab(34.46, 52.92, -78.55)
CIE-LCHlch(34.46, 94.72, 303.97°)
OKLaboklab(45.8% 0.0243 -0.2271)
OKLCHoklch(45.8% 0.228 276.1)
XYZxyz(15.0370, 8.2316, 61.7567)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4134D2 #C5D234
analogous
#3476D2 #4134D2 #9034D2
triadic
#4134D2 #D24134 #34D241
tetradic
#4134D2 #D23476 #C5D234 #34D290
square
#4134D2 #D23476 #C5D234 #34D290
split-complementary
#4134D2 #D29034 #76D234
monochromatic
#211972 #2F24A4 #4134D2 #7066DD #9F98E8

Accessibility & contrast

On white

7.93
#4134D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4134D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4134D2
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4134D2#FFFFFF#000000##FFFFFF
##4134D21.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D7
Deuteranopia (green-blind)
#004ACF
Tritanopia (blue-blind)
#006281
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4134d2;
/* rgb */ color: rgb(65, 52, 210);
/* oklch */ color: oklch(45.8% 0.228 276.1);
Tailwind
colors: {
  custom: {
    50: '#8a6ee1',
    500: '#4134d2',
    950: '#000000',
  },
}
SCSS
$custom: #4134d2;
$custom-light: #8a6ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#4134d2",
  "rgb": {
    "r": 65,
    "g": 52,
    "b": 210
  },
  "hsl": {
    "h": 244.937,
    "s": 63.71,
    "l": 51.373
  },
  "oklch": {
    "l": 0.45801,
    "c": 0.22836,
    "h": 276.1
  },
  "luminance": 0.08233
}

Semantic roles & 50–950 ramp

primary
#4134D2
secondary
#CED48E
accent
#E741D9
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0715
muted
#7E7A84

Preview Lab

Preview with #4134D2

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

Preview Lab → · Contrast checker → · Palette generator →

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